diff --git a/app/assets/builds/blacklight.css b/app/assets/builds/blacklight.css index 336544e85..bdfb0af8e 100644 --- a/app/assets/builds/blacklight.css +++ b/app/assets/builds/blacklight.css @@ -409,12 +409,6 @@ main { background: transparent url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-dash-square" viewBox="0 0 16 16"%3e%3cpath d="M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z" /%3e%3cpath d="M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z" /%3e%3c/svg%3e') center/1em auto no-repeat; } -/* Facet browse pages & modals --------------------------------------------------- */ -.facet-filters:not(:has(*)) { - display: none; -} - /* Search History */ .search-history { --bl-history-filter-name-color: var(--bs-secondary-color); diff --git a/app/assets/stylesheets/blacklight/_facets.scss b/app/assets/stylesheets/blacklight/_facets.scss index d8445ac46..82caf7dd1 100644 --- a/app/assets/stylesheets/blacklight/_facets.scss +++ b/app/assets/stylesheets/blacklight/_facets.scss @@ -205,9 +205,3 @@ $facet-toggle-height: $facet-toggle-width !default; $facet-toggle-width auto no-repeat; } } - -/* Facet browse pages & modals --------------------------------------------------- */ -.facet-filters:not(:has(*)) { - display: none; -} diff --git a/app/components/blacklight/search/facet_filters_component.html.erb b/app/components/blacklight/search/facet_filters_component.html.erb new file mode 100644 index 000000000..b1ac1acf3 --- /dev/null +++ b/app/components/blacklight/search/facet_filters_component.html.erb @@ -0,0 +1,4 @@ +