Skip to content

Commit

Permalink
Fix stying of sort label on advanced search form (#3089)
Browse files Browse the repository at this point in the history
`.col-form-label` is only suitable for `<label>` tags as it imposes `font-size: inherit;` This is not what we'd want out of an `<h2>`
  • Loading branch information
jcoyne authored Nov 15, 2023
1 parent 3d63b4d commit f35006b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@

<% if sort_fields_select %>
<div class="form-group row mb-4">
<%= content_tag :h2, t('blacklight.advanced_search.form.sort_label'), id: 'advanced-search-sort-label', class: 'col-md-3 col-form-label text-md-right' %>
<div class="col">
<%= content_tag :h2, t('blacklight.advanced_search.form.sort_label'), id: 'advanced-search-sort-label', class: 'col-md-3 text-md-right' %>
<div class="col-md-9">
<%= sort_fields_select %>
</div>
</div>
Expand Down

0 comments on commit f35006b

Please sign in to comment.