@@ -104,7 +104,7 @@
{#if showChatPadding}
-
+
{/if}
{:else}
@@ -128,9 +128,10 @@
display: flex;
flex-direction: column;
height: 100%;
- overflow-y: auto;
+ overflow: auto;
padding: var(--size-4-3);
- gap: var(--p-spacing);
+ gap: var(--size-4-2);
+ scroll-behavior: smooth;
}
.chat-area::-webkit-scrollbar {
@@ -144,6 +145,7 @@
.message-container {
display: flex;
+ margin: 0;
}
.message-container.user {
@@ -164,12 +166,17 @@
border: var(--border-width) solid var(--background-modifier-border);
border-radius: var(--radius-m);
padding: 0px var(--size-4-2);
+ white-space: pre-wrap;
}
.message-bubble.assistant {
word-wrap: break-word;
max-width: 100%;
}
+
+ .message-text-user {
+ margin: var(--size-4-2);
+ }
.empty-state {
justify-content: center;