Skip to content

Commit

Permalink
Merge pull request #3473 from projectblacklight/backport-text-indent-var
Browse files Browse the repository at this point in the history
[backport 8.x] Make text indent and left padding a variable
  • Loading branch information
seanaery authored Dec 16, 2024
2 parents 3d61adf + a2e286c commit 03ce099
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/assets/stylesheets/blacklight/_facets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
--bl-facet-active-item-color: #{$facet-active-item-color};
--bl-facet-margin-bottom: #{$spacer};
--bl-facet-remove-color: var(--bs-secondary-color);
--bl-facet-label-indent: -15px;
--bl-facet-label-padding-left: 15px;

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

Expand Down Expand Up @@ -168,9 +170,9 @@
.facet-label {
hyphens: auto;
overflow-wrap: break-word;
padding-left: 15px;
padding-left: var(--bl-facet-label-padding-left);
padding-right: 1em;
text-indent: -15px;
text-indent: var(--bl-facet-label-indent);
}

.facet-count {
Expand Down

0 comments on commit 03ce099

Please sign in to comment.