Constrain width of export preview dialog

Matches the other export preview dialog in Review
This commit is contained in:
Josh Hawkins 2025-09-04 07:54:04 -05:00
parent a8b7e5dd24
commit ba0599abd9

View File

@ -149,7 +149,10 @@ function Exports() {
}}
>
<DialogContent
className={cn("max-w-[80%]", isMobile && "landscape:max-w-[60%]")}
className={cn(
"max-h-[95dvh] sm:max-w-xl md:max-w-4xl lg:max-w-4xl xl:max-w-7xl",
isMobile && "landscape:max-w-[60%]",
)}
>
<DialogTitle className="smart-capitalize">
{selected?.name?.replaceAll("_", " ")}