Skip to content

Commit fba2ae1

Browse files
committed
Chore: Merge branch 'main' into mainframe
1 parent a8a39b3 commit fba2ae1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

assets/css/v2/style.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,8 @@ h6:has(a):hover {
14051405

14061406
/* Hide all the cards past 3 if it is a featured card section */
14071407
&.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) {
14091410
display: none;
14101411
}
14111412
}
@@ -1435,7 +1436,7 @@ h6:has(a):hover {
14351436
}
14361437

14371438
/* 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) {
14391440
grid-column: 1 / -1;
14401441
}
14411442
}

layouts/shortcodes/ghcode.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
<div class="code-container chroma">
1414
<button onclick="copyToClipBoard(this, {{ $codeBlockId }})" class="code-copy-button multi-line" type="button">Copy</button>
1515
<div class="highlight-v2" id="{{ $codeBlockId }}">
16-
{{ highlight .Value $lang $params }}
16+
{{ highlight .Content $lang $params }}
1717
</div>
1818
</div>
1919
</div>
2020
{{ end }}
2121
{{ else }}
2222
{{ errorf "Unable to load github content from %s from %q" $file .Position}}
23-
{{ end }}
23+
{{ end }}

0 commit comments

Comments
 (0)