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 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-06-20 12:31:28 +02:00
parent 30316e2353
commit 001bfb3a0c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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 */
+1 -1
View File
@@ -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") {