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:
@@ -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 */
|
||||
|
||||
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user