mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
improvement(chat): hide the agent-group viewport scrollbar (#5664)
This commit is contained in:
+4
-1
@@ -262,7 +262,10 @@ function BoundedViewport({ children, isStreaming }: BoundedViewportProps) {
|
||||
|
||||
return (
|
||||
<div className='relative'>
|
||||
<div ref={ref} className={cn('max-h-[110px] overflow-y-auto pr-2', hasOverflow && 'py-1')}>
|
||||
<div
|
||||
ref={ref}
|
||||
className={cn('scrollbar-hide max-h-[110px] overflow-y-auto pr-2', hasOverflow && 'py-1')}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
{hasOverflow && (
|
||||
|
||||
Reference in New Issue
Block a user