From 034949bae75960587ad43583bc4566ca8fe2e988 Mon Sep 17 00:00:00 2001 From: arthur Date: Thu, 17 Oct 2024 23:46:51 -0700 Subject: [PATCH] style: make sidebars normal height on narrow layout --- .../components/Common/ProgressionSidebar/index.module.css | 6 +++--- apps/site/components/Containers/Sidebar/index.module.css | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/site/components/Common/ProgressionSidebar/index.module.css b/apps/site/components/Common/ProgressionSidebar/index.module.css index 41b2b9eb89120..191ed62f15e57 100644 --- a/apps/site/components/Common/ProgressionSidebar/index.module.css +++ b/apps/site/components/Common/ProgressionSidebar/index.module.css @@ -1,9 +1,7 @@ .wrapper { - @apply sticky - top-0 + @apply top-0 flex h-max - min-h-screen w-full flex-col gap-8 @@ -13,6 +11,8 @@ bg-white px-4 py-6 + sm:sticky + sm:min-h-screen sm:border-r md:max-w-xs lg:px-6 diff --git a/apps/site/components/Containers/Sidebar/index.module.css b/apps/site/components/Containers/Sidebar/index.module.css index 931ac6201c2d8..521e8dbfbf19d 100644 --- a/apps/site/components/Containers/Sidebar/index.module.css +++ b/apps/site/components/Containers/Sidebar/index.module.css @@ -1,9 +1,7 @@ .wrapper { - @apply sticky - top-0 + @apply top-0 flex h-max - min-h-screen w-full flex-col items-start @@ -14,6 +12,8 @@ bg-white px-4 py-6 + sm:sticky + sm:min-h-screen sm:border-r md:max-w-xs lg:px-6