Skip to content

Commit

Permalink
Bugfix550 Adjusted mobile carousel height (#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dergelyova authored Apr 21, 2022
1 parent a87fc7f commit 4b8ba43
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface IStyleProps {
const sizeModes = {
mobile: {
root: {
height: 'calc(100vh - 200px)',
height: 585,
padding: [0],
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/old/modules/main/components/ImportantContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const ImportantContainer: React.FC<IImportantContainer> = ({
post={post}
key={post.title}
forDeviceType={mobile ? 'mobile' : 'desktop'}
size={mobile ? 'small' : 'large'}
size={mobile ? 'mobile' : 'large'}
/>
))}
</Carousel>
Expand Down
2 changes: 1 addition & 1 deletion src/old/modules/main/styles/ImportantContainer.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const useStyles = makeStyles(
minHeight: 455,
},
containerMobile: {
minHeight: 'calc(100vh - 200px)',
minHeight: 585,
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
Expand Down

0 comments on commit 4b8ba43

Please sign in to comment.