mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-06-08 14:46:14 -04:00
UI: fix codeblocks overflowing on mobile
This commit is contained in:
parent
75f1b5ccde
commit
973255cb0b
1 changed files with 1 additions and 0 deletions
|
@ -540,6 +540,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
|||
.message-body pre > code {
|
||||
white-space: pre !important;
|
||||
overflow-x: auto !important;
|
||||
max-width: calc(100dvw - 39px);
|
||||
border: 1px solid #666;
|
||||
border-radius: 5px;
|
||||
font-size: 82%;
|
||||
|
|
Loading…
Add table
Reference in a new issue