fix: adjusted the image height to be dynamic

This commit is contained in:
Rucha Ambaliya 2025-02-25 21:16:23 +05:30
parent a969a9e5fc
commit db0c2a0956

View File

@ -24,10 +24,10 @@ export const AttachmentViewerForm: FC<
{/* eslint-disable-next-line @next/next/no-img-element */}
<img
width="100%"
height={400}
style={{
cursor: "pointer",
objectFit: "contain",
maxHeight: "70vh",
}}
alt={data?.url}
src={data?.url}