Skip to content

Commit 287a98a

Browse files
committed
fix code blocks
1 parent 660d11a commit 287a98a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

styles/prose.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,11 @@
593593
color: var(--text);
594594
}
595595
.runnable-editor-host .CodeMirror-gutters {
596-
background: transparent;
596+
/* Opaque, matching the editor background — the gutter is pinned (fixedGutter)
597+
while the code scrolls under it. A transparent gutter let horizontally
598+
scrolled code bleed through behind the line numbers, looking like a
599+
collision. An opaque fill keeps the number column clean during h-scroll. */
600+
background: var(--code-bg);
597601
border-right: 1px solid var(--code-border);
598602
}
599603
.runnable-editor-host .CodeMirror-linenumber {

0 commit comments

Comments
 (0)