Skip to content

Commit

Permalink
Merge pull request #2561 from NilsKaden/bugfix/page-width-overflow-mo…
Browse files Browse the repository at this point in the history
…bile-2553

resolve width overflow on mobile [Fixes #2553]
  • Loading branch information
samajammin authored Mar 9, 2021
2 parents 4a71691 + a2552a6 commit e4c56b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/templates/use-cases.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,13 @@ const Image = styled(Img)`
flex: 1 1 100%;
background-size: cover;
background-repeat: no-repeat;
margin-left: 2rem;
right: 0;
bottom: 0;
background-size: cover;
max-width: ${(props) => (props.useCase === "dao" ? `572px` : `640px`)};
@media (min-width: ${(props) => props.theme.breakpoints.m}) {
margin-left: 2rem;
}
@media (max-width: ${(props) => props.theme.breakpoints.l}) {
width: 100%;
height: 100%;
Expand Down

0 comments on commit e4c56b5

Please sign in to comment.