File tree Expand file tree Collapse file tree 5 files changed +19
-10
lines changed Expand file tree Collapse file tree 5 files changed +19
-10
lines changed Original file line number Diff line number Diff line change 1
1
.a-anchorlink {
2
2
display : flex ;
3
- flex-wrap : wrap ;
3
+ flex-wrap : nowrap ;
4
+ margin-bottom : 1.2rem ;
5
+ align-items : center ;
6
+ column-gap : .8rem ;
7
+
8
+ @media (max-width : #{$breakpoint-md } ) {
9
+ justify-content : space-between ;
10
+ }
11
+ }
12
+
13
+ .a-anchorlink > h2 {
14
+ margin-bottom : 0 ;
4
15
}
5
16
6
- .a-anchorlink ::before {
7
- content : " " ;
17
+ .o-divider {
8
18
display : block ;
9
19
width : 100% ;
10
20
margin : 2rem 0 ;
21
31
height : 3.2rem ;
22
32
align-items : center ;
23
33
justify-content : center ;
24
- margin-left : .8rem ;
25
34
border-radius : var (--border-radius-s );
26
35
opacity : .8 ;
27
36
text-decoration : none ;
Original file line number Diff line number Diff line change @@ -163,6 +163,7 @@ img {
163
163
justify-content : space-between ;
164
164
flex-flow : wrap ;
165
165
column-gap : 2rem ;
166
+ row-gap : 1rem ;
166
167
margin-bottom : 1.6rem ;
167
168
align-items : center ;
168
169
Original file line number Diff line number Diff line change @@ -17,9 +17,7 @@ <h1 data-pagefind-meta="title">{{ .Title }}</h1>
17
17
</ div >
18
18
19
19
< div data-pagefind-weight ="2 ">
20
- {{- with .Content -}}
21
- {{ . | replaceRE "(< h [2] id =\ "([^\"]+)\".+)(</ h[2]+> )" (print `< span class ="a-anchorlink "> ${1}${3}< a href ="#${2} " class ="a-anchorlink__link " title ="` (T "anchorLink.copy ") `"> ` (partial "icon" "link") `</ a > </ span > `) | safeHTML }}
22
- {{- end -}}
20
+ {{ partial "content" . }}
23
21
</ div >
24
22
</ div >
25
23
< div class ="o-single__container ">
Original file line number Diff line number Diff line change @@ -16,9 +16,7 @@ <h1 data-pagefind-meta="title">{{ .Title }}</h1>
16
16
{{ partial "updateDate.html" . }}
17
17
</ div >
18
18
< div data-pagefind-weight ="2.5 ">
19
- {{- with .Content -}}
20
- {{ . | replaceRE "(< h [2] id =\ "([^\"]+)\".+)(</ h[2]+> )" (print `< span class ="a-anchorlink "> ${1}${3}< a href ="#${2} " class ="a-anchorlink__link " title ="` (T "copyAnchorLink ") `"> ` (partial "icon" "link") `</ a > </ span > `) | safeHTML }}
21
- {{- end -}}
19
+ {{ partial "content" . }}
22
20
</ div >
23
21
</ div >
24
22
{{ partial "image" (partial "helper/contentImage" . ) }}
Original file line number Diff line number Diff line change
1
+ {{- with .Content -}}
2
+ {{ . | replaceRE "(< h [2] id =\ "([^\"]+)\".+)(</ h[2]+> )" (print `< span class ="o-divider "> </ span > < span class ="a-anchorlink "> ${1}${3}< a href ="#${2} " class ="a-anchorlink__link " title ="` (T "anchorLink.copy ") `"> ` (partial "icon" "link") `</ a > </ span > `) | safeHTML }}
3
+ {{- end -}}
You can’t perform that action at this time.
0 commit comments