mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-29 17:58:27 +00:00
web/Switcher: fix rounded corners in RTL layout
This commit is contained in:
parent
94e5aad6c0
commit
72c30a58aa
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue