refac: styling

This commit is contained in:
Timothy J. Baek
2024-07-08 18:31:58 -07:00
parent b8d153ebb2
commit 9cea5f75bb
5 changed files with 21 additions and 24 deletions

View File

@@ -1460,11 +1460,9 @@
</div>
{/if}
<div class="flex flex-col flex-auto z-10">
<div class="flex flex-col flex-auto z-10 {showControls ? 'lg:pr-[24rem]' : ''}">
<div
class=" pb-2.5 flex flex-col justify-between w-full flex-auto overflow-auto h-0 max-w-full z-10 scrollbar-hidden {showControls
? 'lg:pr-[28rem]'
: ''} "
class=" pb-2.5 flex flex-col justify-between w-full flex-auto overflow-auto h-0 max-w-full z-10 scrollbar-hidden"
id="messages-container"
bind:this={messagesContainerElement}
on:scroll={(e) => {
@@ -1490,7 +1488,7 @@
</div>
</div>
<div class={showControls ? 'lg:pr-[28rem]' : ''}>
<div class="">
<MessageInput
bind:files
bind:prompt
@@ -1513,7 +1511,6 @@
/>
</div>
</div>
<ChatControls bind:show={showControls} />
</div>
{/if}