mirror of
https://github.com/hexastack/hexabot
synced 2025-04-02 12:21:19 +00:00
fix: adjusted the image height to be dynamic
This commit is contained in:
parent
a969a9e5fc
commit
db0c2a0956
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user