From 03688f7cd274a513ab84a2afa4be59b5d9cd1bc9 Mon Sep 17 00:00:00 2001 From: ajnart Date: Mon, 6 Jul 2026 21:07:35 +0200 Subject: [PATCH] fix: increase default widget preview dimensions for fullscreen view Changes default widget preview dimensions from 128x128 to 960x640 so table-based widgets like Docker containers aren't squished into a tiny strip when viewed via the /widgets route in fullscreen mode. Closes #6230 --- apps/nextjs/src/app/[locale]/widgets/[kind]/_content.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/nextjs/src/app/[locale]/widgets/[kind]/_content.tsx b/apps/nextjs/src/app/[locale]/widgets/[kind]/_content.tsx index 9bbc0ac93..e616fa695 100644 --- a/apps/nextjs/src/app/[locale]/widgets/[kind]/_content.tsx +++ b/apps/nextjs/src/app/[locale]/widgets/[kind]/_content.tsx @@ -37,8 +37,8 @@ export const WidgetPreviewPageContent = ({ kind, integrationData }: WidgetPrevie const currentDefinition = useMemo(() => widgetImports[kind].definition, [kind]); const [editMode, setEditMode] = useState(false); const [dimensions, setDimensions] = useState({ - width: 128, - height: 128, + width: 960, + height: 640, }); const [state, setState] = useState<{ options: Record;