File tree Expand file tree Collapse file tree 6 files changed +15
-11
lines changed Expand file tree Collapse file tree 6 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 1
1
.og-preview-wrapper {
2
- @apply relative max-w-sm mx-auto p-2 lg :max- w- xs;
2
+ @apply relative max-w-sm mx-auto lg :max- w- xs;
3
3
}
4
4
5
5
.og-preview-container {
15
15
@apply opacity- 100;
16
16
}
17
17
.sharing-runner {
18
- @apply translate-y-full ;
18
+ @apply opacity- 0 ;
19
19
}
20
20
}
21
21
}
63
63
}
64
64
65
65
.sharing-runner {
66
- @apply absolute bottom-0 left-0 right-0 h-10 flex items-center justify-between px-4 transition-transform duration-300 ease-in-out z- [3 ];
66
+ @apply absolute bottom-0 left-0 right-0 h-10 flex items-center justify-between px-4 transition-all duration-300 ease-in-out z- [3 ] opacity- 100 ;
67
67
background : rgba (0 ,0 ,0 , 0.7 );
68
68
backdrop-filter : blur (3px );
69
69
color : white ;
97
97
opacity : 1 ;
98
98
}
99
99
.sharing-runner {
100
- transform : translateY ( 100 % ) ;
100
+ @ apply opacity- 0 ;
101
101
}
102
102
}
Original file line number Diff line number Diff line change 2
2
{{ partial "page-header" . }}
3
3
< section class ="section pt-6 ">
4
4
< div class ="container ">
5
- < div class ="row ">
5
+ < div class ="row lg:items-stretch ">
6
6
< article class ="{{ if gt (len .TableOfContents) 80 }}lg:col-8{{ else }}lg:col-10 mx-auto{{ end }} ">
7
7
{{ $image:= .Params.image }}
8
8
{{ if $image }}
Original file line number Diff line number Diff line change 2
2
{{ partial "page-header" . }}
3
3
< section class ="section pt-6 ">
4
4
< div class ="container ">
5
- < div class ="row ">
5
+ < div class ="row lg:items-stretch ">
6
6
< div >
7
7
< div class ="content-panel p-6 shadow-lg ">
8
8
{{ partial "hardware/product-info" .Page }}
Original file line number Diff line number Diff line change 2
2
{{ partial "page-header" . }}
3
3
< section class ="section pt-6 ">
4
4
< div class ="container ">
5
- < div class ="row lg:gx-8 ">
5
+ < div class ="row lg:gx-8 lg:items-stretch ">
6
6
{{/* Main Content Column */}}
7
7
< div class ="lg:col-8 ">
8
8
< article class ="content mb-10 ">
Original file line number Diff line number Diff line change 1
1
{{ if gt (len .TableOfContents) 80 }}
2
2
< aside class ="lg:col-4 hidden lg:block ">
3
- < div class ="sticky top-24 ">
3
+ < div class ="">
4
+ {{ partial "components/og-preview.html" . }}
5
+ </ div >
6
+ < div class ="sticky top-24 space-y-6 ">
7
+ {{/* Table of Contents Section */}}
4
8
< div class ="px-3 pt-5 pb-5 content-panel ">
5
9
< div class ="pb-3 ">
6
10
< strong class ="text-xl "> Table of Contents</ strong >
7
11
</ div >
8
- < div id ="tableOfContentContainer " class ="max-h-[calc(100vh-12rem )] overflow-y-auto ">
12
+ < div id ="tableOfContentContainer " class ="max-h-[calc(100vh-28rem )] overflow-y-auto ">
9
13
{{ .TableOfContents }}
10
14
</ div >
11
15
</ div >
12
16
</ div >
13
17
</ aside >
14
- {{ end }}
18
+ {{ end }}
Original file line number Diff line number Diff line change 8
8
{{ end }}
9
9
</ summary >
10
10
{{ .Page.TableOfContents }}
11
- </ details >
11
+ </ details >
You can’t perform that action at this time.
0 commit comments