improve launcher history and runtime config UX
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-07-07 09:43:18 +09:00
parent ff23415818
commit a48055bf65
7 changed files with 182 additions and 81 deletions
+4 -2
View File
@@ -110,7 +110,8 @@ export function Modal({
children,
footer,
onClose,
className
className,
bodyClassName
}: {
open: boolean;
title: ReactNode;
@@ -118,6 +119,7 @@ export function Modal({
footer?: ReactNode;
onClose: () => void;
className?: string;
bodyClassName?: string;
}) {
if (!open) return null;
@@ -135,7 +137,7 @@ export function Modal({
<X className="size-4" />
</button>
</div>
<div className="max-h-[70vh] overflow-y-auto px-5 py-5">{children}</div>
<div className={cn('max-h-[70vh] overflow-y-auto px-5 py-5', bodyClassName)}>{children}</div>
{footer ? <div className="flex justify-end gap-2 border-t border-border px-5 py-4">{footer}</div> : null}
</div>
</div>