Compare commits

..
Author SHA1 Message Date
ajnart 1679175252 fix: Docker widget full-screen mode layout
Replace fixed numeric modal size with fullScreen property to properly expand the modal across the viewport instead of displaying a narrow strip.
2026-07-06 21:04:43 +02:00
2 changed files with 3 additions and 3 deletions

No files matched your search

@@ -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<Dimensions>({
width: 960,
height: 640,
width: 128,
height: 128,
});
const [state, setState] = useState<{
options: Record<string, unknown>;
@@ -6,5 +6,5 @@ import { DockerTable } from "~/app/[locale]/manage/tools/docker/docker-table";
export const DockerQuickAccessModal = createModal<void>(() => <DockerTable />).withOptions({
defaultTitle: (t) => t("docker.title"),
size: 1400,
fullScreen: true,
});