From 1fe2ba791cd7f6ced68044f6af748d4e26872cdb Mon Sep 17 00:00:00 2001 From: bwatson78 Date: Wed, 8 Jun 2022 10:13:14 -0400 Subject: [PATCH] Styles the facet options. --- app/assets/stylesheets/hyrax/_facets.scss | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/app/assets/stylesheets/hyrax/_facets.scss b/app/assets/stylesheets/hyrax/_facets.scss index 902b7a0f11..c9fbec8b94 100644 --- a/app/assets/stylesheets/hyrax/_facets.scss +++ b/app/assets/stylesheets/hyrax/_facets.scss @@ -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; + } + } } \ No newline at end of file