mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-30 04:23:30 +08:00
fix hamburger menu button rtl issue
This commit is contained in:
parent
8b4771fde3
commit
2e601a384b
@ -101,11 +101,16 @@
|
|||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 30px;
|
right: 0;
|
||||||
top: 30px;
|
top: 0;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
[dir="rtl"] & {
|
||||||
|
left: 0;
|
||||||
|
right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
@include respond(md) {
|
@include respond(md) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: none;
|
max-width: none;
|
||||||
|
|
||||||
|
position: relative;
|
||||||
|
|
||||||
--sidebar-avatar-size: 120px;
|
--sidebar-avatar-size: 120px;
|
||||||
--sidebar-element-separation: 20px;
|
--sidebar-element-separation: 20px;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user