mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-07 23:53:40 +00:00
UI: improve the heading fonts
This commit is contained in:
parent
fee23df1a5
commit
836a868abc
2 changed files with 58 additions and 19 deletions
|
|
@ -17,28 +17,19 @@
|
|||
line-height: 28px !important;
|
||||
}
|
||||
|
||||
.dark .chat .message-body p,
|
||||
.dark .chat .message-body li,
|
||||
.dark .chat .message-body q {
|
||||
.dark .chat .message-body :is(p, li, q, h1, h2, h3, h4, h5, h6) {
|
||||
color: #d1d5db !important;
|
||||
}
|
||||
|
||||
.chat .message-body p,
|
||||
.chat .message-body ul,
|
||||
.chat .message-body ol {
|
||||
margin-top: 1.25em !important;
|
||||
margin-bottom: 1.25em !important;
|
||||
.chat .message-body :is(p, ul, ol) {
|
||||
margin: 1.25em 0 !important;
|
||||
}
|
||||
|
||||
.chat .message-body p:first-child,
|
||||
.chat .message-body ul:first-child,
|
||||
.chat .message-body ol:first-child {
|
||||
.chat .message-body :is(p, ul, ol):first-child {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
.chat .message-body p:last-child,
|
||||
.chat .message-body ul:last-child,
|
||||
.chat .message-body ol:last-child {
|
||||
.chat .message-body :is(p, ul, ol):last-child {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue