mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-01-09 12:09:04 +01:00
UI: fix codeblocks overflowing on mobile
This commit is contained in:
parent
75f1b5ccde
commit
973255cb0b
@ -540,6 +540,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
|||||||
.message-body pre > code {
|
.message-body pre > code {
|
||||||
white-space: pre !important;
|
white-space: pre !important;
|
||||||
overflow-x: auto !important;
|
overflow-x: auto !important;
|
||||||
|
max-width: calc(100dvw - 39px);
|
||||||
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