Skip to content

Commit

Permalink
Styles the facet options.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwatson78 committed Jun 8, 2022
1 parent 847daf7 commit 1fe2ba7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions app/assets/stylesheets/hyrax/_facets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,28 @@

.facet-label .facet_select, .selected, .facet-label .remove {
margin-right: 0.5rem;
}

ul.facet-values.list-unstyled {
display: table;
table-layout: fixed;
width: 100%;

> li {
display: table-row;

> .facet-label {
display: table-cell;
hyphens: auto;
padding: 0 0.875rem 0.375rem 0.875rem;
text-indent: -0.938rem;

> a.facet_select { margin-right: unset;}
}

> .facet-count {
display: table-cell;
text-align: right;
}
}
}

0 comments on commit 1fe2ba7

Please sign in to comment.