From f34cc07a94faf54e340390a46e4ce3a87ff65fef Mon Sep 17 00:00:00 2001 From: Megha-Dev-19 Date: Thu, 1 Feb 2024 19:52:59 +0530 Subject: [PATCH] fix min height of sidebar --- apps/builddao/widget/template/SidebarLayout.jsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/builddao/widget/template/SidebarLayout.jsx b/apps/builddao/widget/template/SidebarLayout.jsx index 367dd17e..9b57130a 100644 --- a/apps/builddao/widget/template/SidebarLayout.jsx +++ b/apps/builddao/widget/template/SidebarLayout.jsx @@ -16,14 +16,13 @@ const SidebarContainer = styled.div` border: 1px solid var(--stroke-color, rgba(255, 255, 255, 0.2)); background: var(--bg-1, #0b0c14); width: 100%; - + min-height: 80vh; display: flex; padding: 24px 12px; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 1rem; - height: max-content; @media screen and (max-width: 768px) { border: 0px; @@ -58,7 +57,7 @@ const Sidebar = ({ currentPath, page, routes }) => ( textDecoration: "none", cursor: "pointer", padding: "8px 12px", - gap: "10px", + gap: "10px" }} > {route.init.icon && }