Skip to content

Commit

Permalink
Merge pull request #706 from rishabhsharma1997/master
Browse files Browse the repository at this point in the history
chore: lighthouse effect to 100% max width
  • Loading branch information
captain-Akshay authored Aug 7, 2024
2 parents 16386cb + 0218651 commit 7755428
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/custom/CustomImage/CustomImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,14 @@ const CustomImage: React.FC<ImageComponentProps> = ({ src, alt, ...props }) => {
background: 'transparent',
boxShadow: 'none',
overflow: 'auto',
maxWidth: '60rem'
maxWidth: '100%'
}
}}
>
<img
src={src}
alt={alt}
onClick={handleZoomClose}
style={{
objectFit: 'contain',
maxWidth: '100%',
Expand Down
6 changes: 4 additions & 2 deletions src/custom/SetupPrerequisite/style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ const Card = styled('a')(({ theme }) => ({
boxShadow: 'rgb(0, 211, 169) 0px 0px 7px'
},
'& a': {
color: theme.palette.background.brand?.default,
margin: '0 !important'
margin: '0 !important',
'&:hover': {
color: theme.palette.background.brand?.default
}
}
}));

Expand Down

0 comments on commit 7755428

Please sign in to comment.