Merge pull request #9699 from mfo/US/combobox-full-with-no-matter-screen
amelioration(combobox): ETQ usager, les combobox de DS se comportent comme un `<select>`
This commit is contained in:
commit
79293f9fde
1 changed files with 20 additions and 13 deletions
|
@ -33,12 +33,20 @@ trix-editor.fr-input {
|
|||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
@media (max-width: 62em) {
|
||||
|
||||
.fr-ds-combobox {
|
||||
.fr-menu {
|
||||
.fr-menu__list {
|
||||
z-index: calc(var(--ground) + 1000);
|
||||
width: 100%;
|
||||
|
||||
.fr-menu__list {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 62em) {
|
||||
.fr-ds-combobox .fr-menu .fr-menu__list {
|
||||
z-index: calc(var(--ground) + 1000);
|
||||
background-color: var(--background-default-grey);
|
||||
--idle: transparent;
|
||||
--hover: var(--background-overlap-grey-hover);
|
||||
|
@ -47,8 +55,7 @@ trix-editor.fr-input {
|
|||
box-shadow: inset 0 1px 0 0 var(--border-open-blue-france);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Fix firefox < 80, Safari < 15.4, Chrome < 83 not supporting "appearance: auto" on inputs
|
||||
// This rule was set by DSFR for DSFR design, but broke our legacy forms.
|
||||
// scss-lint:disable DuplicateProperty
|
||||
|
|
Loading…
Reference in a new issue