Fix up styles

This commit is contained in:
David Cook
2024-06-11 15:51:33 +10:00
parent c6452efa92
commit 9ba3b4f2d5
3 changed files with 11 additions and 3 deletions

View File

@@ -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

View File

@@ -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)

View File

@@ -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;
}
}