From 001bfb3a0c7b69d9965952d317848fbe0af0400a Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 20 Jun 2026 12:31:28 +0200 Subject: [PATCH] Clip search widget content overflow and set sane minimum height Prevents form fields from overlapping the widget border when sized small. Changed overflow from visible to hidden and set minH back to 5. Co-Authored-By: Claude Sonnet 4.6 --- src/app/search-widget.css | 4 ++-- src/components/DashboardGrid.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/search-widget.css b/src/app/search-widget.css index 38812b8..5ddb95b 100644 --- a/src/app/search-widget.css +++ b/src/app/search-widget.css @@ -82,7 +82,7 @@ display: grid !important; place-items: center !important; padding: 8px !important; - overflow: visible !important; + overflow: hidden !important; } /* Bearbeitungsmodus: unterhalb Header zentrieren, Resize-Ecke freihalten */ @@ -96,7 +96,7 @@ display: grid !important; place-items: center !important; padding: 6px 10px 12px 8px !important; - overflow: visible !important; + overflow: hidden !important; } /* Suchformular mittig, einzeilig, mit Luft zur Resize-Ecke */ diff --git a/src/components/DashboardGrid.tsx b/src/components/DashboardGrid.tsx index b47d2fe..6757ab8 100644 --- a/src/components/DashboardGrid.tsx +++ b/src/components/DashboardGrid.tsx @@ -24,7 +24,7 @@ function clamp(value: number, min: number, max: number): number { function getWidgetMinimumSize(widget: DashboardGridWidget): { minW: number; minH: number } { if (widget.type === "search") { - return { minW: 8, minH: 3 }; + return { minW: 8, minH: 5 }; } if (widget.type === "clock") {