From 9a5ab454b4ce87ddbaebe65d702b93ccd9b10fd3 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Thu, 21 Sep 2023 14:30:52 -0700 Subject: [PATCH] Improve list styles --- css/html_instruct_style.css | 3 ++- css/main.css | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/css/html_instruct_style.css b/css/html_instruct_style.css index 9c2cefb2..09596c73 100644 --- a/css/html_instruct_style.css +++ b/css/html_instruct_style.css @@ -17,8 +17,9 @@ margin-bottom: 1.25em !important; } -.message-body ul, .message-body ol { +.chat .message-body ul, .chat .message-body ol { margin-bottom: 1.25em !important; + padding-left: 1.1em !important; } .dark .message-body p em { diff --git a/css/main.css b/css/main.css index 58972605..c5ee7159 100644 --- a/css/main.css +++ b/css/main.css @@ -589,3 +589,9 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* { .old-ui #chat-buttons #clear-history-confirm { order: -1; } + +.chat ol, .chat ul { + padding-left: 40px !important; + list-style-position: outside !important; + margin-top: 6px !important; +}