mirror of
https://github.com/oobabooga/textgen.git
synced 2026-08-05 09:40:42 -05:00
UI: improve list style in chat modes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user