Skip to content

Commit 219b3c2

Browse files
authored
fix(web): code blocks no longer jump when highlighting finishes (pingdotgg#20923)
1 parent d218d5b commit 219b3c2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎apps/web/src/index.css‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1710,6 +1710,7 @@ code {
17101710
Inline code stays relative to its sentence so it never towers over prose;
17111711
diffs and file previews take the size through --diffs-font-size. */
17121712
.chat-markdown .chat-markdown-shiki .shiki,
1713+
.chat-markdown .chat-markdown-codeblock pre,
17131714
:is(.chat-markdown, .composer-tiptap) pre code {
17141715
font-size: var(--font-size-code, inherit);
17151716
}

0 commit comments

Comments
 (0)