Skip to content

Commit bcbacc0

Browse files
authored
Merge pull request #3201 from projectblacklight/facet-header-size
Add the h4/h6 class to the facet headings rather than using scss
2 parents 352ece8 + 5277cb9 commit bcbacc0

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

app/assets/stylesheets/blacklight/_facets.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@
102102
}
103103

104104
.facets-heading {
105-
@extend .h4;
106105
line-height: inherit;
107106
}
108107

@@ -193,8 +192,6 @@
193192
}
194193

195194
.facet-field-heading {
196-
@extend .h6;
197-
198195
a {
199196
color: inherit;
200197
}

app/components/blacklight/facet_field_component.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="card facet-limit blacklight-<%= @facet_field.key %> <%= 'facet-limit-active' if @facet_field.active? %>">
2-
<h3 class="card-header p-0 facet-field-heading" id="<%= header_html_id %>">
2+
<h3 class="card-header p-0 facet-field-heading h6" id="<%= header_html_id %>">
33
<button
44
type="button"
55
class="btn w-100 d-block btn-block p-2 text-start text-left collapse-toggle <%= "collapsed" if @facet_field.collapsed? %>"

app/components/blacklight/response/facet_group_component.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<% # main container for facets/limits menu -%>
22
<%= content_tag :div, id: @id, class: 'facets sidenav facets-toggleable-md' do %>
33
<div class="facets-header">
4-
<%= content_tag :h2, @title, class: 'facets-heading' if @title %>
4+
<%= content_tag :h2, @title, class: 'facets-heading h4' if @title %>
55
66
<%= content_tag :button,
77
class:'navbar-toggler navbar-toggler-right',

0 commit comments

Comments
 (0)