feat: update dialog size options and adjust loading indicator height

This commit is contained in:
mlogclub
2026-05-05 20:03:02 +08:00
parent bfcab46ae4
commit c482a3d7f6
2 changed files with 3 additions and 3 deletions
@@ -324,14 +324,13 @@ export function TicketDetailDialog({
</span>
) : undefined
}
size="xl"
size="xxl"
allowFullscreen
bodyScrollable={false}
contentClassName="sm:max-w-5xl"
bodyClassName="overflow-hidden"
>
{loading && !ticket ? (
<div className="flex h-[520px] items-center justify-center gap-2 text-sm text-muted-foreground">
<div className="flex h-130 items-center justify-center gap-2 text-sm text-muted-foreground">
<RefreshCcwIcon className="size-4 animate-spin" />
...
</div>
+1
View File
@@ -21,6 +21,7 @@ const dialogSizeClassName = {
md: "max-w-xl sm:max-w-xl",
lg: "max-w-2xl sm:max-w-2xl",
xl: "max-w-4xl sm:max-w-4xl",
xxl: "max-w-5xl sm:max-w-5xl",
} as const;
type ProjectDialogSize = keyof typeof dialogSizeClassName;