mirror of
https://github.com/stackblitz/bolt.new
synced 2025-02-05 04:26:30 +00:00
fix: don't always show scrollbars (#548)
This commit is contained in:
parent
ffa9f11360
commit
582b42e409
@ -69,7 +69,7 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
|
|||||||
data-chat-visible={showChat}
|
data-chat-visible={showChat}
|
||||||
>
|
>
|
||||||
<ClientOnly>{() => <Menu />}</ClientOnly>
|
<ClientOnly>{() => <Menu />}</ClientOnly>
|
||||||
<div ref={scrollRef} className="flex overflow-scroll w-full h-full">
|
<div ref={scrollRef} className="flex overflow-y-auto w-full h-full">
|
||||||
<div className={classNames(styles.Chat, 'flex flex-col flex-grow min-w-[var(--chat-min-width)] h-full')}>
|
<div className={classNames(styles.Chat, 'flex flex-col flex-grow min-w-[var(--chat-min-width)] h-full')}>
|
||||||
{!chatStarted && (
|
{!chatStarted && (
|
||||||
<div id="intro" className="mt-[26vh] max-w-chat mx-auto">
|
<div id="intro" className="mt-[26vh] max-w-chat mx-auto">
|
||||||
|
Loading…
Reference in New Issue
Block a user