mirror of
https://gitlab.com/KevinRoebert/ClearUrls
synced 2025-12-16 06:05:37 +07:00
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:
@@ -82,6 +82,7 @@ input:checked + .slider:before {
|
|||||||
.switch label {
|
.switch label {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 60px;
|
left: 60px;
|
||||||
|
word-break: keep-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
|
|||||||
Reference in New Issue
Block a user