We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f60d063 commit 19047d0Copy full SHA for 19047d0
1 file changed
apps/site/layouts/layouts.module.css
@@ -14,7 +14,6 @@
14
mx-auto
15
block
16
w-full
17
- overflow-auto
18
sm:grid
19
sm:grid-cols-[theme(spacing.52)_1fr]
20
sm:grid-rows-[1fr]
@@ -24,21 +23,22 @@
24
23
xl:grid-cols-[theme(spacing.80)_1fr_theme(spacing.80)];
25
26
> *:nth-child(1) {
27
- @apply grid-in-[sidebar];
+ @apply grid-in-[sidebar]
+ lg:sticky
28
+ lg:top-0
29
+ lg:h-[100vh]
30
+ lg:overflow-y-auto;
31
}
32
33
> *:nth-child(2) {
34
@apply contents
- overflow-y-scroll
35
sm:max-lg:block;
36
37
> *:first-child {
38
@apply grid-in-[main]
39
sm:bg-gradient-subtle
40
sm:dark:bg-gradient-subtle-dark
41
xl:px-18
- overflow-y-auto
- overflow-x-hidden
42
p-4
43
motion-safe:scroll-smooth
44
sm:bg-fixed
@@ -50,6 +50,8 @@
50
mt-8
51
border-t
52
sm:mt-0
53
54
55
lg:max-w-xs
56
lg:border-l
57
lg:border-t-0;
0 commit comments