Skip to content

Commit a74fbfb

Browse files
committed
style: make sidebars sticky
1 parent 851b085 commit a74fbfb

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

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

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
.wrapper {
2-
@apply flex
2+
@apply sticky
3+
top-0
4+
flex
5+
h-max
6+
min-h-screen
37
w-full
48
flex-col
59
items-start

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

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
.wrapper {
2-
@apply flex
2+
@apply sticky
3+
top-0
4+
flex
5+
h-max
6+
min-h-screen
37
w-full
48
flex-col
59
items-start

apps/site/layouts/layouts.module.css

+1-1
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)