fix(dsfr): checkbox/radio visibility on old firefox
Firefox < 80 ne supporte pas `appearance: auto` injecté par le DSFR, ce qui rend les checkbox & radio transparentes (invisibles).
This commit is contained in:
parent
3aec5fe413
commit
b8885140a4
1 changed files with 13 additions and 0 deletions
|
@ -15,3 +15,16 @@ select {
|
||||||
.button.primary {
|
.button.primary {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// fix firefox < 80 not supporting "appearance: auto" on inputs
|
||||||
|
// scss-lint:disable DuplicateProperty
|
||||||
|
input[type="checkbox"] {
|
||||||
|
-moz-appearance: checkbox;
|
||||||
|
-moz-appearance: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="radio"] {
|
||||||
|
-moz-appearance: radio;
|
||||||
|
-moz-appearance: auto;
|
||||||
|
}
|
||||||
|
// scss-lint:enable DuplicateProperty
|
||||||
|
|
Loading…
Reference in a new issue