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:
Colin Darie 2022-09-07 19:00:56 +02:00
parent 3aec5fe413
commit b8885140a4
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -15,3 +15,16 @@ select {
.button.primary {
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