diff --git a/css/html_instruct_style.css b/css/html_instruct_style.css
index 886f35a8c1..5ee8d86694 100644
--- a/css/html_instruct_style.css
+++ b/css/html_instruct_style.css
@@ -8,6 +8,10 @@
padding-top: 0 !important;
}
+.chat > .messages > :last-child {
+ margin-bottom: 0.85rem;
+}
+
.chat .message-body p, .chat .message-body li {
font-size: 1rem !important;
line-height: 28px !important;
diff --git a/css/main.css b/css/main.css
index 0439791019..48ed541835 100644
--- a/css/main.css
+++ b/css/main.css
@@ -452,7 +452,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
flex-direction: column;
}
-.chat > .messages:first-child {
+.chat > .messages > :first-child {
padding-top: 20px;
}