style(filters): dynamic & larger width because we now have long column names
This commit is contained in:
parent
45efac16f2
commit
89e2027406
2 changed files with 6 additions and 2 deletions
|
@ -374,7 +374,11 @@ ul.dropdown-items {
|
|||
padding: 2 * $default-spacer;
|
||||
|
||||
&.large {
|
||||
width: 340px;
|
||||
width: 90vw;
|
||||
|
||||
@media (min-width: 62em) {
|
||||
width: 40vw;
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue