UI: improve list style in chat modes

This commit is contained in:
oobabooga 2023-12-17 20:26:57 -08:00
parent 306c479d3a
commit 3f3cd4fbe4
2 changed files with 8 additions and 5 deletions

View File

@ -22,17 +22,12 @@
.message-body p, .message-body li {
font-size: 15px !important;
line-height: 24px !important;
list-style-position: outside;
}
.message-body p, .chat .message-body ul, .chat .message-body ol {
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 {
margin-bottom: 0 !important;
}

View File

@ -364,6 +364,14 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
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) {
margin-top: 0 !important;
margin-bottom: 2px !important;