Skip to content

Commit

Permalink
Margin fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterbryant committed Dec 14, 2023
1 parent 4082596 commit 9ea7413
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/ChatBox/ChatBox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
{#if !minimized}
<!-- This is the scrollable zone -->
<div
class="relative overflow-scroll py-2"
class="relative overflow-scroll"
bind:this={scrollElement}
on:scroll={checkScrolledDown}
transition:slide={{ duration: 300, easing: cubicOut }}
Expand All @@ -75,6 +75,7 @@
<!-- Render the chat messages -->
{#each $messages as message}
<div
class="first:mt-4 last:mb-8"
in:slide={{ duration: 400 }}
on:introend={() => {
scrollToBottom();
Expand Down

0 comments on commit 9ea7413

Please sign in to comment.