mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-24 17:06:53 +01:00
UI: improve list style in chat modes
This commit is contained in:
parent
306c479d3a
commit
3f3cd4fbe4
@ -22,17 +22,12 @@
|
|||||||
.message-body p, .message-body li {
|
.message-body p, .message-body li {
|
||||||
font-size: 15px !important;
|
font-size: 15px !important;
|
||||||
line-height: 24px !important;
|
line-height: 24px !important;
|
||||||
list-style-position: outside;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-body p, .chat .message-body ul, .chat .message-body ol {
|
.message-body p, .chat .message-body ul, .chat .message-body ol {
|
||||||
margin-bottom: 16px !important;
|
margin-bottom: 16px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat .message-body ul, .chat .message-body ol {
|
|
||||||
padding-inline-start: 2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.message-body p:last-child, .chat .message-body ul:last-child, .chat .message-body ol:last-child {
|
.message-body p:last-child, .chat .message-body ul:last-child, .chat .message-body ol:last-child {
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
|
@ -364,6 +364,14 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
|||||||
padding-bottom: 0 !important;
|
padding-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.message-body li {
|
||||||
|
list-style-position: outside;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chat .message-body ul, .chat .message-body ol {
|
||||||
|
padding-inline-start: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
.message-body li:not(:last-child) {
|
.message-body li:not(:last-child) {
|
||||||
margin-top: 0 !important;
|
margin-top: 0 !important;
|
||||||
margin-bottom: 2px !important;
|
margin-bottom: 2px !important;
|
||||||
|
Loading…
Reference in New Issue
Block a user