From 3bad90e06accbdd1b534eb3e7f5ab59956573d2a Mon Sep 17 00:00:00 2001 From: arthur Date: Tue, 29 Oct 2024 16:14:03 -0700 Subject: [PATCH] style: only make metabar sticky, not sidebar --- .../components/Containers/MetaBar/index.module.css | 10 +++++----- .../components/Containers/Sidebar/index.module.css | 6 +----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/apps/site/components/Containers/MetaBar/index.module.css b/apps/site/components/Containers/MetaBar/index.module.css index 2f3cb6918b7e2..8d867a2b2e0d1 100644 --- a/apps/site/components/Containers/MetaBar/index.module.css +++ b/apps/site/components/Containers/MetaBar/index.module.css @@ -1,9 +1,5 @@ .wrapper { - @apply sticky - top-0 - flex - h-max - min-h-screen + @apply flex w-full flex-col items-start @@ -13,6 +9,10 @@ px-4 py-6 [overflow-wrap:anywhere] + lg:sticky + lg:top-0 + lg:h-max + lg:min-h-screen lg:px-6 dark:border-neutral-900; diff --git a/apps/site/components/Containers/Sidebar/index.module.css b/apps/site/components/Containers/Sidebar/index.module.css index 931ac6201c2d8..7324ae7ba9f29 100644 --- a/apps/site/components/Containers/Sidebar/index.module.css +++ b/apps/site/components/Containers/Sidebar/index.module.css @@ -1,9 +1,5 @@ .wrapper { - @apply sticky - top-0 - flex - h-max - min-h-screen + @apply flex w-full flex-col items-start