fix(toggle): render label in 1 line
This commit is contained in:
parent
b3c2b46bb1
commit
ab4b201fcb
1 changed files with 7 additions and 0 deletions
|
@ -179,3 +179,10 @@ button.fr-tag-bug {
|
||||||
border: initial;
|
border: initial;
|
||||||
display: block; // Pour cette valeur spécifique, on récupère celle de .fr-label
|
display: block; // Pour cette valeur spécifique, on récupère celle de .fr-label
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Fix toggles having labels on 2 lines
|
||||||
|
// From upstream https://github.com/GouvernementFR/dsfr/pull/928
|
||||||
|
// Remove it when PR is merged (v1.12 ?)
|
||||||
|
.fr-toggle label[data-fr-unchecked-label][data-fr-checked-label]::before {
|
||||||
|
word-wrap: normal;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue