Skip to content

Commit 443b29d

Browse files
committed
Merge branch 'explicit-classes' into build-css
2 parents f77f4eb + f699935 commit 443b29d

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

app/assets/stylesheets/blacklight/_controls.scss

-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
.search-widgets {
22
display: flex;
3-
4-
> * {
5-
@extend .mx-1;
6-
}
73
}
84

95
.sort-pagination,

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

+1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
param: @param,
33
choices: @choices,
44
id: @id,
5+
classes: @classes,
56
search_state: @search_state,
67
selected: @selected)) %>

app/views/catalog/_per_page_widget.html.erb

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
param: :per_page,
55
choices: per_page_options_for_select,
66
id: 'per_page-dropdown',
7+
classes: ['mx-1'],
78
search_state: search_state,
89
selected: current_per_page,
910
interpolation: :count)) %>
+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<% if show_sort_and_per_page? %>
22
<%= render(Blacklight::Response::SortComponent.new(
33
choices: active_sort_fields.map { |key, config| [sort_field_label(config.key), key] },
4+
classes: ['mx-1'],
45
search_state: search_state,
56
selected: current_sort_field&.key)) %>
67
<% end %>

0 commit comments

Comments
 (0)