feat: improve mobile style

This commit is contained in:
Yifei Zhang
2023-03-15 05:50:11 +00:00
parent 653a740f0f
commit 64e331a3e3
7 changed files with 36 additions and 15 deletions

View File

@@ -38,6 +38,7 @@
}
.sidebar {
top: 0;
width: var(--sidebar-width);
box-sizing: border-box;
padding: 20px;
@@ -68,17 +69,15 @@
.sidebar {
position: absolute;
top: -100%;
left: -100%;
z-index: 999;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
height: 80vh;
box-shadow: var(--shadow);
height: 100vh;
transition: all ease 0.3s;
box-shadow: none;
}
.sidebar-show {
top: 0;
left: 0;
}
.mobile {