Skip to content

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

fix(history): keep the wide two-column layout regardless of calendar connection

Gabriel Steind45d1d27b2de
diff --git a/src/components/HistoryView.tsx b/src/components/HistoryView.tsx
index f2a6ec54b..b857e4203 100644
--- a/src/components/HistoryView.tsx
+++ b/src/components/HistoryView.tsx
@@ -6,7 +6,6 @@ import TranscriptionItem from "./ui/TranscriptionItem";
import type { TranscriptionItem as TranscriptionItemType } from "../types/electron";
import { formatHotkeyLabel, parseHotkeyList } from "../utils/hotkeys";
import { formatDateGroup } from "../utils/dateFormatting";
-import { cn } from "./lib/utils";
import { useUpcomingEvents } from "../hooks/useUpcomingEvents";
import UpcomingMeetings from "./UpcomingMeetings";
import { useSettingsStore } from "../stores/settingsStore";
@@ -95,7 +94,7 @@ export default function HistoryView({
return (
<div className="px-4 pt-4 pb-6">
- <div className={cn("mx-auto", isConnected ? "max-w-5xl" : "max-w-3xl")}>
+ <div className="mx-auto max-w-5xl">
{history.length === 0 && <div className="mb-2 flex justify-end">{discardedToggle}</div>}
{showCloudMigrationBanner && (
<div className="mb-3 relative rounded-lg border border-primary/20 bg-primary/5 dark:bg-primary/10 p-3">