Skip to content

Commit 4aa60f1

Browse files
committed
fix: improve markdown code block and blockquote styling
- Add overflow and wrapping properties to pre tags to prevent horizontal stretching - Apply solid currentColor to blockquote left borders to ensure visibility
1 parent 723d907 commit 4aa60f1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/assets/index.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,14 +518,18 @@ textarea {
518518
margin-top: 0.3em;
519519
margin-bottom: 0.3em;
520520
padding-left: 0.75em;
521-
border-left-width: 3px;
521+
border-left: 3px solid currentColor;
522522
}
523523

524524
.chatbot-host-bubble.prose pre,
525525
.chatbot-host-bubble .prose pre {
526526
margin-top: 0.4em;
527527
margin-bottom: 0.4em;
528528
font-size: 0.85em;
529+
padding: 5px;
530+
overflow: auto;
531+
white-space: pre-wrap;
532+
word-wrap: break-word;
529533
}
530534

531535
.chatbot-host-bubble.prose hr,

0 commit comments

Comments
 (0)