simplify sidebar CSS, position it relative to the editor tabs

This commit is contained in:
El RIDO
2020-06-27 14:17:48 +02:00
parent 8537f396b3
commit 283d85c7cf
2 changed files with 11 additions and 17 deletions

View File

@@ -208,15 +208,11 @@ li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 {
/* sidebar */
#menu-toggle {
position: absolute;
top: 145px;
left: -3.3ch;
position: relative;
bottom: -94px;
left: -61px;
margin-bottom: -12px;
transform: rotate(90deg);
transition: all 0.5s ease;
}
main.toggled #menu-toggle {
left: 220px;
}
@media (max-width: 768px) {
@@ -228,7 +224,6 @@ main.toggled #menu-toggle {
}
main {
padding-left: 0;
transition: all 0.5s ease;
}
@@ -238,10 +233,9 @@ main.toggled {
#sidebar-wrapper {
position: fixed;
left: 250px;
width: 0;
width: 250px;
height: 100%;
margin-left: -250px;
left: -250px;
padding-left: 4ch;
overflow-y: scroll;
overflow-x: hidden;
@@ -249,5 +243,5 @@ main.toggled {
}
main.toggled #sidebar-wrapper {
width: 250px;
left: 0;
}