Skip to content

Commit 582b42e

Browse files
authored
fix: don't always show scrollbars (#548)
1 parent ffa9f11 commit 582b42e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/chat/BaseChat.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
6969
data-chat-visible={showChat}
7070
>
7171
<ClientOnly>{() => <Menu />}</ClientOnly>
72-
<div ref={scrollRef} className="flex overflow-scroll w-full h-full">
72+
<div ref={scrollRef} className="flex overflow-y-auto w-full h-full">
7373
<div className={classNames(styles.Chat, 'flex flex-col flex-grow min-w-[var(--chat-min-width)] h-full')}>
7474
{!chatStarted && (
7575
<div id="intro" className="mt-[26vh] max-w-chat mx-auto">

0 commit comments

Comments
 (0)