From 724645755078483aa0ede950dad9862d220c9ab9 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Mon, 9 Jan 2017 14:04:38 -0600 Subject: [PATCH] Fix some styles for Bootstrap 4 alpha 6 --- app/assets/stylesheets/blacklight/_facets.scss | 11 +++++++++-- app/views/catalog/_facets.html.erb | 6 ++++-- app/views/catalog/_index.html.erb | 2 +- app/views/catalog/_show.html.erb | 2 +- app/views/shared/_header_navbar.html.erb | 10 ++++++---- 5 files changed, 21 insertions(+), 10 deletions(-) diff --git a/app/assets/stylesheets/blacklight/_facets.scss b/app/assets/stylesheets/blacklight/_facets.scss index 9e31e20b13..849e1c0b5e 100644 --- a/app/assets/stylesheets/blacklight/_facets.scss +++ b/app/assets/stylesheets/blacklight/_facets.scss @@ -12,9 +12,16 @@ line-height: inherit; } +.facet-limit { + margin-bottom: 5px; + + .card-block { + padding: 1rem; + } +} + .facet-limit-active { @extend .card-outline-success; - @extend .card-inverse; .card-header { @extend .card-success; @@ -59,7 +66,7 @@ padding-right: 1em; text-indent: -15px; padding-left: 15px; - padding-bottom: $spacer-y; + padding-bottom: $spacer-y / 2; @include hyphens-auto; } diff --git a/app/views/catalog/_facets.html.erb b/app/views/catalog/_facets.html.erb index fa7af3baec..5ee3f0048b 100644 --- a/app/views/catalog/_facets.html.erb +++ b/app/views/catalog/_facets.html.erb @@ -3,14 +3,16 @@
- +

<%= t('blacklight.search.facets.title') %>

- diff --git a/app/views/catalog/_index.html.erb b/app/views/catalog/_index.html.erb index 8641afbeb2..e2632f8564 100644 --- a/app/views/catalog/_index.html.erb +++ b/app/views/catalog/_index.html.erb @@ -1,6 +1,6 @@ <% doc_presenter = index_presenter(document) %> <%# default partial to display solr document fields in catalog index view -%> -