refac: styling

This commit is contained in:
Timothy Jaeryang Baek 2025-07-08 12:54:11 +04:00
parent 09b5c1b4dc
commit 8f74070688
2 changed files with 3 additions and 1 deletions

View file

@ -1073,6 +1073,7 @@ Provide the enhanced notes in markdown format. Use markdown syntax for headings,
{files} {files}
onInsert={insertHandler} onInsert={insertHandler}
onStop={stopResponseHandler} onStop={stopResponseHandler}
scrollToBottomHandler={scrollToBottom}
/> />
{:else if selectedPanel === 'settings'} {:else if selectedPanel === 'settings'}
<Settings bind:show={showPanel} bind:selectedModelId /> <Settings bind:show={showPanel} bind:selectedModelId />

View file

@ -279,6 +279,7 @@ Based on the user's instruction, update and enhance the existing notes by incorp
loaded = true; loaded = true;
await tick();
scrollToBottom(); scrollToBottom();
}); });
</script> </script>
@ -319,7 +320,7 @@ Based on the user's instruction, update and enhance the existing notes by incorp
<div class="mx-auto w-full md:px-0 h-full relative"> <div class="mx-auto w-full md:px-0 h-full relative">
<div class=" flex flex-col h-full"> <div class=" flex flex-col h-full">
<div <div
class=" pb-2.5 flex flex-col justify-between w-full flex-auto overflow-auto h-0" class=" pb-2.5 flex flex-col justify-between w-full flex-auto overflow-auto h-0 scrollbar-hidden"
id="messages-container" id="messages-container"
bind:this={messagesContainerElement} bind:this={messagesContainerElement}
on:scroll={onScroll} on:scroll={onScroll}