Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

Update mobile sidebar styles (#950)

Dave Earleyeeb94fa1af30
diff --git a/frontend/src/components/layouts/AppLayout/AppLayout.module.scss b/frontend/src/components/layouts/AppLayout/AppLayout.module.scss
index 3fd6635fc..57dadac85 100644
--- a/frontend/src/components/layouts/AppLayout/AppLayout.module.scss
+++ b/frontend/src/components/layouts/AppLayout/AppLayout.module.scss
@@ -28,6 +28,7 @@
.main {
grid-area: main;
padding: var(--hi-spacing-lg);
+ padding-bottom: calc(var(--hi-spacing-lg) + 40px);
overflow: auto;
background-color: #f9fafc;
diff --git a/frontend/src/components/layouts/AppLayout/Sidebar/Sidebar.module.scss b/frontend/src/components/layouts/AppLayout/Sidebar/Sidebar.module.scss
index d747eccff..62c1cdbad 100644
--- a/frontend/src/components/layouts/AppLayout/Sidebar/Sidebar.module.scss
+++ b/frontend/src/components/layouts/AppLayout/Sidebar/Sidebar.module.scss
@@ -37,7 +37,7 @@
flex: 1 1 auto;
overflow: auto;
position: relative;
- padding: 8px 0;
+ padding: 8px 0 24px;
scrollbar-width: thin;
scrollbar-color: transparent transparent;
@@ -171,13 +171,14 @@
@media (max-width: 767px) {
position: fixed;
- width: 280px;
+ width: 100%;
height: 100vh;
+ height: 100dvh;
z-index: 200;
transform: translateX(-100%);
top: 0;
left: 0;
-
+
&.open {
transform: translateX(0);
}