UI: make codeblocks scroll horizontally on overflow

This commit is contained in:
oobabooga 2025-01-01 17:55:18 -08:00
parent 9163951f3a
commit f011787a83

View File

@ -538,8 +538,8 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
} }
.message-body pre > code { .message-body pre > code {
white-space: pre-wrap !important; white-space: pre !important;
word-wrap: break-word !important; overflow-x: auto !important;
border: 1px solid #666; border: 1px solid #666;
border-radius: 5px; border-radius: 5px;
font-size: 82%; font-size: 82%;