mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fix up styles
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
= form_with url: bulk_update_admin_column_preferences_path, method: :put,
|
||||
id: :bulk_admin_column_preferences_form,
|
||||
id: :bulk_admin_column_preferences_form, class: "column-preferences",
|
||||
html: { 'data-controller': "column-preferences" } do |f|
|
||||
= hidden_field_tag :action_name, action
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#sort
|
||||
%div
|
||||
%div.pagination-description
|
||||
- if pagy.present?
|
||||
= t(".pagination.total_html", total: pagy.count, from: pagy.from, to: pagy.to)
|
||||
|
||||
|
||||
@@ -214,6 +214,10 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
.pagination-description {
|
||||
flex-grow: 1; // Grow to fill space
|
||||
}
|
||||
|
||||
.with-dropdown {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -221,7 +225,11 @@
|
||||
gap: 10px;
|
||||
}
|
||||
.per-page {
|
||||
width: 10em;
|
||||
width: 9em;
|
||||
}
|
||||
|
||||
.column-preferences .ofn-drop-down-label {
|
||||
width: 13em;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user