Skip to content

Commit e528621

Browse files
authored
fix: sidebar scroll going over sidebar height (#709)
1 parent 8f71684 commit e528621

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

apps/sim/app/chat/[subdomain]/components/voice-interface/voice-interface.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ export function VoiceInterface({
514514
const getButtonContent = () => {
515515
if (state === 'agent_speaking') {
516516
return (
517-
<svg className='w-6 h-6' viewBox='0 0 24 24' fill='currentColor'>
517+
<svg className='h-6 w-6' viewBox='0 0 24 24' fill='currentColor'>
518518
<rect x='6' y='6' width='12' height='12' rx='2' />
519519
</svg>
520520
)
@@ -534,23 +534,23 @@ export function VoiceInterface({
534534
isPlayingAudio={state === 'agent_speaking'}
535535
isStreaming={isStreaming}
536536
isMuted={isMuted}
537-
className='w-80 h-80 md:w-96 md:h-96'
537+
className='h-80 w-80 md:h-96 md:w-96'
538538
/>
539539
</div>
540540

541541
{/* Live transcript - subtitle style */}
542-
<div className='mb-16 h-24 flex items-center justify-center'>
542+
<div className='mb-16 flex h-24 items-center justify-center'>
543543
{currentTranscript && (
544544
<div className='max-w-2xl px-8'>
545-
<p className='text-xl text-gray-700 text-center leading-relaxed overflow-hidden'>
545+
<p className='overflow-hidden text-center text-gray-700 text-xl leading-relaxed'>
546546
{currentTranscript}
547547
</p>
548548
</div>
549549
)}
550550
</div>
551551

552552
{/* Status */}
553-
<p className='text-lg text-gray-600 mb-8 text-center'>
553+
<p className='mb-8 text-center text-gray-600 text-lg'>
554554
{getStatusText()}
555555
{isMuted && <span className='ml-2 text-gray-400 text-sm'>(Muted)</span>}
556556
</p>

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ export function Sidebar() {
720720
}`}
721721
>
722722
<div className='px-2'>
723-
<ScrollArea ref={workflowScrollAreaRef} className='h-[212px]' hideScrollbar={true}>
723+
<ScrollArea ref={workflowScrollAreaRef} className='h-[210px]' hideScrollbar={true}>
724724
<FolderTree
725725
regularWorkflows={regularWorkflows}
726726
marketplaceWorkflows={tempWorkflows}

0 commit comments

Comments
 (0)