Constrain width of export preview dialog (#19908)

Matches the other export preview dialog in Review
This commit is contained in:
Josh Hawkins 2025-09-04 08:08:07 -05:00 committed by GitHub
parent a8b7e5dd24
commit b781f06f9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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("_", " ")}