Prevent CJK text from breaking in switch label in the popup
`.switch label` shrink-fits its content, and CJK text can break between characters. An alternative idea is using `width: max-content`. Fixed #466.
This commit is contained in:
parent
cde3271386
commit
0e983d021d
|
@ -82,6 +82,7 @@ input:checked + .slider:before {
|
|||
.switch label {
|
||||
position: absolute;
|
||||
left: 60px;
|
||||
word-break: keep-all;
|
||||
}
|
||||
|
||||
label {
|
||||
|
|
Loading…
Reference in New Issue
Block a user