Skip to content

Commit 03ce099

Browse files
authored
Merge pull request #3473 from projectblacklight/backport-text-indent-var
[backport 8.x] Make text indent and left padding a variable
2 parents 3d61adf + a2e286c commit 03ce099

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/assets/stylesheets/blacklight/_facets.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
--bl-facet-active-item-color: #{$facet-active-item-color};
44
--bl-facet-margin-bottom: #{$spacer};
55
--bl-facet-remove-color: var(--bs-secondary-color);
6+
--bl-facet-label-indent: -15px;
7+
--bl-facet-label-padding-left: 15px;
68

79
--bl-facet-limit-body-padding: #{$spacer};
810

@@ -168,9 +170,9 @@
168170
.facet-label {
169171
hyphens: auto;
170172
overflow-wrap: break-word;
171-
padding-left: 15px;
173+
padding-left: var(--bl-facet-label-padding-left);
172174
padding-right: 1em;
173-
text-indent: -15px;
175+
text-indent: var(--bl-facet-label-indent);
174176
}
175177

176178
.facet-count {

0 commit comments

Comments
 (0)