tighten message spacing

This commit is contained in:
Shantur Rathore
2025-11-27 10:30:30 +00:00
parent 1bf1a4761d
commit 54905c5626
2 changed files with 5 additions and 5 deletions

View File

@@ -229,7 +229,7 @@ export default function MessageItem(props: MessageItemProps) {
</For>
<Show when={fileAttachments().length > 0}>
<div class="message-attachments">
<div class="message-attachments mt-1">
<For each={fileAttachments()}>
{(attachment) => {
const name = getAttachmentName(attachment)

View File

@@ -11,20 +11,20 @@
}
.message-item-base:not(.assistant-message) {
margin-top: 0.5rem;
margin-bottom: 0.5rem;
margin-top: 0.25rem;
margin-bottom: 0.25rem;
}
.message-step-start {
background-color: var(--message-assistant-bg);
border-left: 4px solid var(--message-assistant-border);
margin-top: 0.5rem;
margin-top: 0.25rem;
}
.message-step-finish {
background-color: var(--message-assistant-bg);
border-left: 4px solid var(--message-assistant-border);
margin-bottom: 0.5rem;
margin-bottom: 0.25rem;
}