Skip to content

Commit

Permalink
Merge pull request #3468 from projectblacklight/text-indent
Browse files Browse the repository at this point in the history
Make text indent and left padding of facet values variables
  • Loading branch information
seanaery authored Dec 13, 2024
2 parents c77223d + da9ad42 commit cef032f
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: var(--bs-success);
--bl-facet-remove-color: var(--bs-secondary-color);
--bl-facet-remove-hover-color: var(--bs-danger);
--bl-facet-label-indent: -15px;
--bl-facet-label-padding-left: 15px;

.facet-toggle-button {
[data-hide-label] {
Expand Down Expand Up @@ -108,9 +110,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 cef032f

Please sign in to comment.