mirror of
https://github.com/foo-dogsquared/hugo-theme-more-contentful.git
synced 2025-01-30 22:57:57 +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);
|
||||
padding: 0.5rem;
|
||||
overflow: auto;
|
||||
direction: ltr;
|
||||
|
||||
code { background: unset; }
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user