web/Sidebar: fix padding in RTL layout

This commit is contained in:
wukko 2024-11-20 15:34:23 +06:00
parent 88ed5876ae
commit 45e639a7e1
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -107,6 +107,16 @@
#sidebar :global(.sidebar-inner-container:last-child) {
padding-right: calc(var(--border-radius) * 2);
}
#sidebar :global(.sidebar-inner-container:first-child:dir(rtl)) {
padding-left: 0;
padding-right: calc(var(--border-radius) * 2);
}
#sidebar :global(.sidebar-inner-container:last-child:dir(rtl)) {
padding-right: 0;
padding-left: calc(var(--border-radius) * 2);
}
}
/* add padding for notch / dynamic island in landscape */