fix hamburger menu button rtl issue

This commit is contained in:
Jimmy Cai 2022-03-03 21:49:00 +00:00 committed by GitHub
parent 8b4771fde3
commit 2e601a384b
2 changed files with 9 additions and 2 deletions

View File

@ -101,11 +101,16 @@
background: none;
border: none;
position: absolute;
right: 30px;
top: 30px;
right: 0;
top: 0;
z-index: 2;
cursor: pointer;
[dir="rtl"] & {
left: 0;
right: auto;
}
@include respond(md) {
display: none;
}

View File

@ -16,6 +16,8 @@
width: 100%;
max-width: none;
position: relative;
--sidebar-avatar-size: 120px;
--sidebar-element-separation: 20px;