mirror of
https://github.com/foo-dogsquared/hugo-theme-more-contentful.git
synced 2025-01-31 04:58:14 +00:00
Add some RTL styling for theme button component
This commit is contained in:
parent
1b8b2cbce7
commit
2d6131bcdf
@ -86,6 +86,7 @@ pre {
|
|||||||
max-height: var(--code-block-size);
|
max-height: var(--code-block-size);
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
direction: ltr;
|
||||||
|
|
||||||
code { background: unset; }
|
code { background: unset; }
|
||||||
}
|
}
|
||||||
|
@ -70,6 +70,11 @@ footer[aria-label="Site footer"] {
|
|||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|
||||||
|
[dir="rtl"] & {
|
||||||
|
right: unset;
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: unset !important;
|
color: unset !important;
|
||||||
& .site__theme-dropdown {
|
& .site__theme-dropdown {
|
||||||
@ -87,6 +92,11 @@ footer[aria-label="Site footer"] {
|
|||||||
right: 0;
|
right: 0;
|
||||||
top: 1.5em;
|
top: 1.5em;
|
||||||
width: max-content;
|
width: max-content;
|
||||||
|
|
||||||
|
[dir="rtl"] & {
|
||||||
|
right: unset;
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.site__theme-dropdown-list {
|
.site__theme-dropdown-list {
|
||||||
|
Loading…
Reference in New Issue
Block a user