Skip to content

Commit

Permalink
style: make sidebars sticky (#7132)
Browse files Browse the repository at this point in the history
* style: make sidebars sticky

* style: only make metabar sticky, not sidebar
  • Loading branch information
arthurjdam authored Oct 31, 2024
1 parent d97bede commit f64f547
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions apps/site/components/Containers/MetaBar/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,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;

Expand Down
2 changes: 1 addition & 1 deletion apps/site/layouts/layouts.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -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)];
Expand Down

0 comments on commit f64f547

Please sign in to comment.