Skip to content

Commit

Permalink
make 200px height picture for candidate
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Kordonets committed Nov 21, 2023
1 parent d97b6a9 commit 05189b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/js/common/components/Style/CampaignDetailsStyles.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ export const CampaignImageDesktopWrapper = styled('div')(({ theme }) => (`
min-height: 174px;
}
${theme.breakpoints.up('md')} {
min-height: 239px;
min-height: 200px;
}
${theme.breakpoints.up('lg')} {
min-height: 300px;
min-height: 200px;
}
`));

Expand Down
2 changes: 1 addition & 1 deletion src/js/common/components/Style/PoliticianDetailsStyles.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const PoliticianImageSharedStyles = css`
export const PoliticianImageDesktopPlaceholder = styled('div', {
shouldForwardProp: (prop) => !['limitCardWidth'].includes(prop),
})(({ limitCardWidth }) => (`
${limitCardWidth ? 'height: 315px;' : 'height: 117px;'}
${limitCardWidth ? 'height: 200px;' : 'height: 117px;'}
align-items: center;
background-color: #eee;
display: flex;
Expand Down

0 comments on commit 05189b7

Please sign in to comment.