Skip to content

Commit dcfe380

Browse files
committed
fix layout resizing when page includes wide code block
1 parent 1e40cce commit dcfe380

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

website/src/css/customTheme.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,10 @@ hr {
277277
background-color: var(--light);
278278
}
279279

280+
div[class^="codeBlockContent"] {
281+
display: inline-grid;
282+
}
283+
280284
div[class^="codeBlockLines"] {
281285
font-size: 80%;
282286
}

0 commit comments

Comments
 (0)