Skip to content

Commit

Permalink
Enlarge images in list preview
Browse files Browse the repository at this point in the history
  • Loading branch information
garris committed Jan 26, 2018
1 parent 5e8b7ff commit 0192ed9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compare/src/components/atoms/ImagePreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { colors, fonts } from '../../styles'
const Image = styled.img`
width: auto;
max-width: 100%;
max-height: ${props => (props.settings.textInfo ? '150px' : '300px')};
max-height: ${props => (props.settings.textInfo ? '150px' : '400px')};
&:hover {
cursor: pointer;
Expand All @@ -17,7 +17,7 @@ const Image = styled.img`
const Wrapper = styled.div`
flex: 1 1 auto;
padding: 0 25px;
padding-top: ${props => (props.withText ? '20px' : '60px')};
padding-top: ${props => (props.withText ? '10px' : '20px')};
text-align: center;
`

Expand Down

0 comments on commit 0192ed9

Please sign in to comment.