Skip to content

Commit e1887e2

Browse files
abbeyperiniknowler
andauthored
Update app/components/Settings/Toggle.client.vue
Co-authored-by: Nathan Knowler <nathan@knowler.dev>
1 parent df6a9d0 commit e1887e2

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

app/components/Settings/Toggle.client.vue

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,8 @@ label:has(input:hover) .toggle--background {
101101
}
102102
103103
/* Support rtl locales */
104-
.toggle--checkbox.ltr + .toggle--background:before {
105-
left: 1px;
106-
}
107-
108-
.toggle--checkbox.rtl + .toggle--background:before {
109-
right: 1px;
104+
.toggle--checkbox + .toggle--background::before {
105+
inset-inline-start: 3px;
110106
}
111107
112108
.toggle--checkbox:checked.ltr + .toggle--background::before {

0 commit comments

Comments
 (0)