Add some RTL styling for theme button component

This commit is contained in:
Gabriel Arazas 2023-03-16 18:13:20 +08:00
parent 1b8b2cbce7
commit 2d6131bcdf
2 changed files with 11 additions and 0 deletions

View File

@ -86,6 +86,7 @@ pre {
max-height: var(--code-block-size);
padding: 0.5rem;
overflow: auto;
direction: ltr;
code { background: unset; }
}

View File

@ -70,6 +70,11 @@ footer[aria-label="Site footer"] {
top: 0;
right: 0;
[dir="rtl"] & {
right: unset;
left: 0;
}
&:hover {
color: unset !important;
& .site__theme-dropdown {
@ -87,6 +92,11 @@ footer[aria-label="Site footer"] {
right: 0;
top: 1.5em;
width: max-content;
[dir="rtl"] & {
right: unset;
left: 0;
}
}
.site__theme-dropdown-list {