mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-01-09 12:09:04 +01:00
UI: make codeblocks scroll horizontally on overflow
This commit is contained in:
parent
9163951f3a
commit
f011787a83
@ -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%;
|
||||||
|
Loading…
Reference in New Issue
Block a user