mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-06 07:03:37 +00:00
UI: Make all chat styles better match instruct style
This commit is contained in:
parent
5f1707af35
commit
998b9bfb2a
6 changed files with 29 additions and 36 deletions
22
css/main.css
22
css/main.css
|
|
@ -430,7 +430,12 @@ audio {
|
|||
font-size: 16px;
|
||||
}
|
||||
|
||||
.dark .message-body :is(h1, h2, h3, h4, h5, h6) {
|
||||
.dark .message-body h1,
|
||||
.dark .message-body h2,
|
||||
.dark .message-body h3,
|
||||
.dark .message-body h4,
|
||||
.dark .message-body h5,
|
||||
.dark .message-body h6 {
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
|
|
@ -830,9 +835,20 @@ audio {
|
|||
}
|
||||
}
|
||||
|
||||
.message-body ol, .message-body ul {
|
||||
.message-body p, .message-body li {
|
||||
line-height: 1.75 !important;
|
||||
}
|
||||
|
||||
.message-body p, .message-body ul, .message-body ol {
|
||||
margin: 1.25em 0 !important;
|
||||
}
|
||||
|
||||
.message-body :is(p, ul, ol):first-child {
|
||||
margin-top: 0 !important;
|
||||
margin-bottom: 1.25em !important;
|
||||
}
|
||||
|
||||
.message-body :is(p, ul, ol):last-child {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue