style(filters): dynamic & larger width because we now have long column names

This commit is contained in:
Colin Darie 2024-11-20 15:58:27 +01:00
parent 45efac16f2
commit 89e2027406
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
2 changed files with 6 additions and 2 deletions

View file

@ -374,7 +374,11 @@ ul.dropdown-items {
padding: 2 * $default-spacer;
&.large {
width: 340px;
width: 90vw;
@media (min-width: 62em) {
width: 40vw;
}
}
ul {

View file

@ -5,7 +5,7 @@
= current_filter_tags
.fr-select-group
= label_tag :column, t('.column'), class: 'fr-label fr-m-0', id: 'instructeur-filter-combo-label', for: 'search-filter'
= label_tag :column, t('.column'), class: 'fr-label fr-mb-1w', id: 'instructeur-filter-combo-label', for: 'search-filter'
%react-fragment
= render ReactComponent.new "ComboBox/SingleComboBox", **filter_react_props