Skip to content

Commit 7755428

Browse files
Merge pull request #706 from rishabhsharma1997/master
chore: lighthouse effect to 100% max width
2 parents 16386cb + 0218651 commit 7755428

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
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%',

src/custom/SetupPrerequisite/style.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ const Card = styled('a')(({ theme }) => ({
3333
boxShadow: 'rgb(0, 211, 169) 0px 0px 7px'
3434
},
3535
'& a': {
36-
color: theme.palette.background.brand?.default,
37-
margin: '0 !important'
36+
margin: '0 !important',
37+
'&:hover': {
38+
color: theme.palette.background.brand?.default
39+
}
3840
}
3941
}));
4042

0 commit comments

Comments
 (0)