File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1405,7 +1405,8 @@ h6:has(a):hover {
1405
1405
1406
1406
/* Hide all the cards past 3 if it is a featured card section */
1407
1407
& .featured-section {
1408
- .card-section-content .card-grid > * : nth-child (n + 4) {
1408
+ .card-section-content .card-grid
1409
+ > * : nth-child (n + 4 of div .card-container ) {
1409
1410
display : none;
1410
1411
}
1411
1412
}
@@ -1435,7 +1436,7 @@ h6:has(a):hover {
1435
1436
}
1436
1437
1437
1438
/* If there is no featured card, last card that is the 3rd one should be full width */
1438
- & : not (: has (.featured-card )) . card-container : nth-child (3n ) {
1439
+ & : not (: has (.featured-card )) * : nth-child (n + 3 of div . card-container ) {
1439
1440
grid-column : 1 / -1 ;
1440
1441
}
1441
1442
}
Original file line number Diff line number Diff line change 13
13
< div class ="code-container chroma ">
14
14
< button onclick ="copyToClipBoard(this, {{ $codeBlockId }}) " class ="code-copy-button multi-line " type ="button "> Copy</ button >
15
15
< div class ="highlight-v2 " id ="{{ $codeBlockId }} ">
16
- {{ highlight .Value $lang $params }}
16
+ {{ highlight .Content $lang $params }}
17
17
</ div >
18
18
</ div >
19
19
</ div >
20
20
{{ end }}
21
21
{{ else }}
22
22
{{ errorf "Unable to load github content from %s from %q" $file .Position}}
23
- {{ end }}
23
+ {{ end }}
You can’t perform that action at this time.
0 commit comments