mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 23:04:10 +08:00
fix(client/rtl): toggle buttons out of bounds
This commit is contained in:
parent
09c5686cb7
commit
b0bb93975a
1 changed files with 4 additions and 0 deletions
|
|
@ -50,6 +50,10 @@
|
|||
background 200ms ease-out;
|
||||
}
|
||||
|
||||
body[dir=rtl] .switch-widget .switch-button:after {
|
||||
--x: calc(var(--y) * -1);
|
||||
}
|
||||
|
||||
.switch-widget .switch-button.on:after {
|
||||
--x: calc(var(--switch-track-width) - var(--switch-thumb-width) - var(--y));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue