Update UploadToShowDialog UI: increase dialog content width for better layout and adjust select trigger width for improved usability.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user