From a74fbfbe2d0bf76e7a7f35995f8f54974ffe3c3c Mon Sep 17 00:00:00 2001 From: arthur Date: Thu, 17 Oct 2024 23:37:39 -0700 Subject: [PATCH] style: make sidebars sticky --- apps/site/components/Containers/MetaBar/index.module.css | 6 +++++- apps/site/components/Containers/Sidebar/index.module.css | 6 +++++- apps/site/layouts/layouts.module.css | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/apps/site/components/Containers/MetaBar/index.module.css b/apps/site/components/Containers/MetaBar/index.module.css index e8b649d5f554c..2f3cb6918b7e2 100644 --- a/apps/site/components/Containers/MetaBar/index.module.css +++ b/apps/site/components/Containers/MetaBar/index.module.css @@ -1,5 +1,9 @@ .wrapper { - @apply flex + @apply sticky + top-0 + flex + h-max + min-h-screen w-full flex-col items-start diff --git a/apps/site/components/Containers/Sidebar/index.module.css b/apps/site/components/Containers/Sidebar/index.module.css index 7324ae7ba9f29..931ac6201c2d8 100644 --- a/apps/site/components/Containers/Sidebar/index.module.css +++ b/apps/site/components/Containers/Sidebar/index.module.css @@ -1,5 +1,9 @@ .wrapper { - @apply flex + @apply sticky + top-0 + flex + h-max + min-h-screen w-full flex-col items-start diff --git a/apps/site/layouts/layouts.module.css b/apps/site/layouts/layouts.module.css index 2f07379ef9723..9300fc91cfe8d 100644 --- a/apps/site/layouts/layouts.module.css +++ b/apps/site/layouts/layouts.module.css @@ -18,7 +18,7 @@ sm:grid sm:grid-cols-[theme(spacing.52)_1fr] sm:grid-rows-[1fr] - sm:overflow-hidden + sm:overflow-visible md:grid-cols-[theme(spacing.64)_1fr] lg:grid-cols-[theme(spacing.52)_1fr_theme(spacing.52)] xl:grid-cols-[theme(spacing.80)_1fr_theme(spacing.80)];