From 5a16b80368db1e9f4af97c606f29f404ee5715e4 Mon Sep 17 00:00:00 2001 From: atman-33 Date: Tue, 28 Jul 2026 00:51:59 +0900 Subject: [PATCH 1/2] fix(quick-capture): keep save button visible with long descriptions The shared Textarea uses field-sizing-content, so the description grew with its content. Its wrapper was a flex item with the default min-height: auto and no resolvable height for h-full, so the row expanded past the window and the container overflow clipped the footer holding "Save to inbox". Pin the row with min-h-0 + field-sizing-fixed and scroll inside the textarea instead, matching the idiom already used by the maximized task-dialog editor. Also set a min inner size on the window so manual resizing cannot hide the footer either. Co-Authored-By: Claude Opus 5 --- src-tauri/src/quick_capture.rs | 2 ++ src/quick-capture/capture-app.tsx | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src-tauri/src/quick_capture.rs b/src-tauri/src/quick_capture.rs index 00950d8..e4a150d 100644 --- a/src-tauri/src/quick_capture.rs +++ b/src-tauri/src/quick_capture.rs @@ -54,6 +54,8 @@ pub fn create_window(app: &AppHandle) -> tauri::Result<()> { ) .title("workhub — quick capture") .inner_size(width, height) + // Below this the form's footer (Save to inbox) stops fitting. + .min_inner_size(360.0, 260.0) .always_on_top(true) .skip_taskbar(true) .decorations(false) diff --git a/src/quick-capture/capture-app.tsx b/src/quick-capture/capture-app.tsx index 49fffc0..12a5adb 100644 --- a/src/quick-capture/capture-app.tsx +++ b/src/quick-capture/capture-app.tsx @@ -137,13 +137,17 @@ export function CaptureApp() { placeholder="Task title" className="h-8" /> -
+ {/* min-h-0 on both the wrapper and the textarea, plus + field-sizing-fixed: without them the shared Textarea's + grow-with-content sizing expands this row past the window and the + footer (Save to inbox) is clipped by the container's overflow. */} +