Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: lighthouse effect to 100% max width #706

Merged
merged 2 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading