Skip to content

Commit

Permalink
Put the facet heading padding in a variable (#3471)
Browse files Browse the repository at this point in the history
This makes it easier to customize
  • Loading branch information
jcoyne authored Jan 7, 2025
1 parent 6c10195 commit a386094
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/assets/builds/blacklight.css
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ main {
--bl-facet-remove-hover-color: var(--bs-danger);
--bl-facet-label-indent: -15px;
--bl-facet-label-padding-left: 15px;
--bl-facet-header-padding-y: 0.5rem;
}
.sidenav .facet-toggle-button [data-hide-label] {
display: inline;
Expand Down Expand Up @@ -282,8 +283,7 @@ main {
.facets-header {
display: flex;
justify-content: space-between;
padding-bottom: 0.5rem;
padding-top: 0.5rem;
padding-block: var(--bl-facet-header-padding-y);
}

.facets-heading {
Expand Down
4 changes: 2 additions & 2 deletions app/assets/stylesheets/blacklight/_facets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
--bl-facet-remove-hover-color: var(--bs-danger);
--bl-facet-label-indent: -15px;
--bl-facet-label-padding-left: 15px;
--bl-facet-header-padding-y: 0.5rem;

.facet-toggle-button {
[data-hide-label] {
Expand Down Expand Up @@ -52,8 +53,7 @@
.facets-header {
display: flex;
justify-content: space-between;
padding-bottom: 0.5rem;
padding-top: 0.5rem;
padding-block: var(--bl-facet-header-padding-y);
}

.facets-heading {
Expand Down

0 comments on commit a386094

Please sign in to comment.