Skip to content

Commit 0db410e

Browse files
chore: lighthouse effect to 100% max width
Signed-off-by: rishabhsharma1997 <[email protected]>
1 parent 3177b13 commit 0db410e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/custom/CustomImage/CustomImage.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,14 @@ const CustomImage: React.FC<ImageComponentProps> = ({ src, alt, ...props }) => {
5353
background: 'transparent',
5454
boxShadow: 'none',
5555
overflow: 'auto',
56-
maxWidth: '60rem'
56+
maxWidth: '100%'
5757
}
5858
}}
5959
>
6060
<img
6161
src={src}
6262
alt={alt}
63+
onClick={handleZoomClose}
6364
style={{
6465
objectFit: 'contain',
6566
maxWidth: '100%',

0 commit comments

Comments
 (0)