mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-04 22:27:29 +00:00
UI: improve the style of code blocks in light theme
This commit is contained in:
parent
9b205f94a4
commit
916d1d8283
5 changed files with 20 additions and 3 deletions
|
|
@ -451,6 +451,11 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
|||
border-radius: 5px;
|
||||
font-size: 82%;
|
||||
padding: 1px 3px;
|
||||
background: white !important;
|
||||
color: #1f2328;
|
||||
}
|
||||
|
||||
.dark .message-body code {
|
||||
background: #0d1117 !important;
|
||||
color: rgb(201 209 217);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue