Update UploadToShowDialog UI: increase dialog content width for better layout and adjust select trigger width for improved usability.

This commit is contained in:
Leonid Pershin
2026-07-25 19:27:00 +03:00
parent 7c1b807e5e
commit d44aa44d95
@@ -73,7 +73,7 @@ export function UploadToShowDialog({ files, onClose }: { files: File[]; onClose:
return (
<Dialog open onOpenChange={(open) => !open && onClose()}>
<DialogContent className="max-w-2xl">
<DialogContent className="max-w-3xl">
<DialogHeader>
<DialogTitle>{t('admin.media.toShowTitle')}</DialogTitle>
<DialogDescription>{t('admin.media.autoDetectHint')}</DialogDescription>
@@ -149,7 +149,7 @@ export function UploadToShowDialog({ files, onClose }: { files: File[]; onClose:
setOverrides((o) => ({ ...o, [p.name]: v === LIBRARY_VALUE ? '' : v }))
}
>
<SelectTrigger className="h-8 w-44 shrink-0">
<SelectTrigger className="h-8 w-56 shrink-0 whitespace-nowrap [&>span]:truncate">
<SelectValue />
</SelectTrigger>
<SelectContent>