web/Switcher: fix rounded corners in RTL layout

This commit is contained in:
wukko 2024-11-20 15:33:27 +06:00
parent 94e5aad6c0
commit 72c30a58aa
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -43,6 +43,20 @@
border-bottom-left-radius: 0;
}
.switcher:not(.big):dir(rtl) :global(.button:first-child) {
border-top-right-radius: inherit;
border-bottom-right-radius: inherit;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.switcher:not(.big):dir(rtl) :global(.button:last-child) {
border-top-left-radius: inherit;
border-bottom-left-radius: inherit;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.switcher.big {
background: var(--button);
box-shadow: var(--button-box-shadow);