Skip to content

Commit 94f786c

Browse files
committed
fix(webapp): chat code blocks render at 12px
1 parent 730ded1 commit 94f786c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

apps/webapp/app/tailwind.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,10 @@
747747
& [data-code-block] .line {
748748
@apply leading-relaxed;
749749
}
750+
/* Streamdown renders the fenced block body at text-sm; code blocks are 12px. */
751+
& [data-streamdown="code-block-body"] {
752+
@apply text-xs;
753+
}
750754
}
751755

752756
/*

0 commit comments

Comments
 (0)