fix(client/rtl): toggling not working

This commit is contained in:
Elian Doran 2025-10-08 18:24:01 +03:00
parent d19d05ec7b
commit 8a8727e6df
No known key found for this signature in database

View File

@ -62,6 +62,10 @@ body[dir=rtl] .switch-widget .switch-button:after {
background 100ms ease-in;
}
body[dir=rtl] .switch-widget .switch-button.on:after {
--x: calc((var(--switch-track-width) - var(--switch-thumb-width) - var(--y)) * -1);
}
.switch-widget .switch-button input[type="checkbox"] {
/* A hidden check box for accesibility purposes */