From 63553b41ede5827cfc81ada47cf803e439a2b7b6 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Mon, 25 Dec 2023 14:25:31 -0800 Subject: [PATCH] Improve some paddings --- css/html_instruct_style.css | 9 +++++++++ css/main.css | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/css/html_instruct_style.css b/css/html_instruct_style.css index 78f9b53..130c353 100644 --- a/css/html_instruct_style.css +++ b/css/html_instruct_style.css @@ -2,9 +2,14 @@ background: var(--block-background-fill); padding: 24px 19px; padding-right: 19px !important; + padding-top: 0px; border: 1px solid var(--block-border-color); } +.chat > .messages { + padding-top: 28px !important; +} + .message { display: grid; grid-template-columns: 60px 1fr; @@ -14,6 +19,10 @@ line-height: 24px; } +.message:first-child { + padding-top: 0; +} + .username { display: none; } diff --git a/css/main.css b/css/main.css index 00d5824..fa706ba 100644 --- a/css/main.css +++ b/css/main.css @@ -362,7 +362,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* { .chat > .messages { display: flex; flex-direction: column; - padding-top: 8px; + padding-top: 25px; } .chat .message:last-child {