Skip to content

Commit 81028c6

Browse files
committed
Tweak styling for list items with code
1 parent 719ef9b commit 81028c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/css/custom.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ header {
378378
margin-bottom: var(--ifm-list-paragraph-margin);
379379
}
380380

381-
.markdown :is(ul, ol) > li > p:first-child:has(> code:only-child) {
381+
.markdown :is(ul, ol) > li > p:first-child:has(> code:only-child):has(+ p) {
382382
font-weight: 600;
383383
font-size: 1.25em;
384384
}

0 commit comments

Comments
 (0)