Skip to content

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

fix: notification window sizing and dismiss circle visibility

Gabriel Steine35a779d6b40
diff --git a/src/components/MeetingNotificationOverlay.tsx b/src/components/MeetingNotificationOverlay.tsx
index b7607da83..adb5d9b9a 100644
--- a/src/components/MeetingNotificationOverlay.tsx
+++ b/src/components/MeetingNotificationOverlay.tsx
@@ -49,7 +49,7 @@ export default function MeetingNotificationOverlay() {
);
return (
- <div className="meeting-notification-window w-full h-full bg-transparent p-3 overflow-visible">
+ <div className="meeting-notification-window w-full h-full bg-transparent pl-4 pr-2 pt-4 pb-2 overflow-visible">
<div
className={[
"group relative",
diff --git a/src/components/UpdateNotificationOverlay.tsx b/src/components/UpdateNotificationOverlay.tsx
index 4fd391698..8e03c418a 100644
--- a/src/components/UpdateNotificationOverlay.tsx
+++ b/src/components/UpdateNotificationOverlay.tsx
@@ -49,7 +49,7 @@ export default function UpdateNotificationOverlay() {
);
return (
- <div className="meeting-notification-window w-full h-full bg-transparent p-3 overflow-visible">
+ <div className="meeting-notification-window w-full h-full bg-transparent pl-4 pr-2 pt-4 pb-2 overflow-visible">
<div
className={[
"group relative",
diff --git a/src/helpers/windowConfig.js b/src/helpers/windowConfig.js
index 944f5b395..bf63ce969 100644
--- a/src/helpers/windowConfig.js
+++ b/src/helpers/windowConfig.js
@@ -174,8 +174,7 @@ class WindowPositionUtil {
}
static getNotificationPosition(display) {
- const width = 380;
- const height = 88;
+ const { width, height } = NOTIFICATION_WINDOW_CONFIG;
const MARGIN = 16;
const workArea = display.workArea || display.bounds;
const x = Math.max(0, workArea.x + workArea.width - width - MARGIN);