File tree Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change 10
10
.articleLayout {
11
11
@apply max-w-8xl
12
12
sm:grid-areas-[sidebar_main, sidebar_footer]
13
- lg:grid-areas-[sidebar_._metabar , sidebar_main_metabar, sidebar_footer_metabar]
13
+ lg:grid-areas-[sidebar_main_metabar, sidebar_footer_metabar]
14
14
mx-auto
15
15
block
16
16
w-full
17
- overflow-auto
18
17
sm:grid
19
18
sm:grid-cols-[theme (spacing.52)_1fr]
20
19
sm:grid-rows-[1fr ]
24
23
xl:grid-cols-[theme (spacing.80)_1fr_theme(spacing.80)];
25
24
26
25
> * : nth-child (1 ) {
27
- @apply grid-in-[sidebar];
26
+ @apply grid-in-[sidebar]
27
+ lg:sticky
28
+ lg:top-0
29
+ lg:h-[100vh ]
30
+ lg:overflow-y-auto;
28
31
}
29
32
30
33
> * : nth-child (2 ) {
31
34
@apply contents
32
- overflow-y-scroll
33
35
sm:max-lg:block;
34
36
35
37
> * : first-child {
36
38
@apply grid-in-[main]
37
39
sm:bg-gradient-subtle
38
40
sm:dark:bg-gradient-subtle-dark
39
41
xl:px-18
40
- overflow-y-auto
41
- overflow-x-hidden
42
42
p-4
43
43
motion-safe:scroll-smooth
44
44
sm:bg-fixed
45
- sm:p-12
46
- lg:sticky
47
- lg:bottom-[4rem ]
48
- lg:h-max
49
- lg:min-h-[calc (100 vh_-_4rem)];
45
+ sm:p-12;
50
46
}
51
47
52
48
> * : last-child {
53
49
@apply grid-in-[metabar]
54
50
mt-8
55
51
border-t
56
52
sm:mt-0
53
+ lg:sticky
54
+ lg:top-0
57
55
lg:max-w-xs
58
56
lg:border-l
59
57
lg:border-t-0;
65
63
sticky
66
64
bottom-0
67
65
flex
68
- h-[4rem ]
69
66
w-full
70
67
flex-col
71
68
items-center
You can’t perform that action at this time.
0 commit comments