Skip to content

Commit f64f547

Browse files
authored
style: make sidebars sticky (#7132)
* style: make sidebars sticky * style: only make metabar sticky, not sidebar
1 parent d97bede commit f64f547

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

apps/site/components/Containers/MetaBar/index.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
px-4
1010
py-6
1111
[overflow-wrap:anywhere]
12+
lg:sticky
13+
lg:top-0
14+
lg:h-max
15+
lg:min-h-screen
1216
lg:px-6
1317
dark:border-neutral-900;
1418

apps/site/layouts/layouts.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
sm:grid
1919
sm:grid-cols-[theme(spacing.52)_1fr]
2020
sm:grid-rows-[1fr]
21-
sm:overflow-hidden
21+
sm:overflow-visible
2222
md:grid-cols-[theme(spacing.64)_1fr]
2323
lg:grid-cols-[theme(spacing.52)_1fr_theme(spacing.52)]
2424
xl:grid-cols-[theme(spacing.80)_1fr_theme(spacing.80)];

0 commit comments

Comments
 (0)