Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix: fixed 420px window width, only height grows with text

Gabriel Steinb53db4b8f9c9
diff --git a/src/components/TranscriptionPreviewOverlay.tsx b/src/components/TranscriptionPreviewOverlay.tsx
index 441c5e826..892b83aa7 100644
--- a/src/components/TranscriptionPreviewOverlay.tsx
+++ b/src/components/TranscriptionPreviewOverlay.tsx
@@ -66,11 +66,7 @@ export default function TranscriptionPreviewOverlay() {
}
}, [phase]);
- const targetWidth = useMemo(() => {
- if (activeText.length > 300) return 540;
- if (activeText.length > 100) return 480;
- return 420;
- }, [activeText.length]);
+ const targetWidth = 420;
const showFinalResult = useCallback(
(text: string) => {