Adjust text records height in text debug drawer

This commit is contained in:
Xin Wang
2026-02-09 11:37:35 +08:00
parent f2b6cefd30
commit a8ef883050

View File

@@ -1696,14 +1696,12 @@ export const DebugDrawer: React.FC<{
</div> </div>
<div className="flex-1 min-h-0 overflow-hidden flex flex-col"> <div className="flex-1 min-h-0 overflow-hidden flex flex-col">
<div className="flex-1 overflow-hidden flex flex-col min-h-0 mb-4"> <div className={`flex-1 overflow-hidden flex flex-col min-h-0 ${mode === 'text' && textSessionStarted ? 'mb-0' : 'mb-4'}`}>
{mode === 'text' ? ( {mode === 'text' ? (
textSessionStarted ? ( textSessionStarted ? (
<div className="flex-1 flex flex-col min-h-0 animate-in fade-in"> <div className="flex-1 flex min-h-0 animate-in fade-in">
<div className="h-[52vh] min-h-[260px] max-h-[52vh] flex min-h-0">
<TranscriptionLog /> <TranscriptionLog />
</div> </div>
</div>
) : wsStatus === 'connecting' ? ( ) : wsStatus === 'connecting' ? (
<div className="flex-1 flex flex-col items-center justify-center space-y-6"> <div className="flex-1 flex flex-col items-center justify-center space-y-6">
<div className="h-24 w-24 rounded-full bg-primary/20 flex items-center justify-center animate-bounce"> <div className="h-24 w-24 rounded-full bg-primary/20 flex items-center justify-center animate-bounce">