fix: increase hide-on-mobile width breakpoint

Signed-off-by: Raul Kele <raulkeleblk@gmail.com>
This commit is contained in:
Raul Kele 2022-12-17 13:35:29 +02:00
parent 1bfee961f5
commit 2066151329
3 changed files with 17 additions and 13 deletions

View File

@ -73,7 +73,7 @@
animation-name: bounce;
}
@media (max-width: 480px) {
@media (max-width: 550px) {
.hide-on-mobile {
display: none;
}

View File

@ -173,16 +173,20 @@ function Home() {
direction={{ xs: 'column', md: 'row' }}
sx={{ width: '100%', paddingTop: '1rem' }}
>
<Typography variant="h4" align="left" className={classes.sectionTitle}>
Recently updated images
</Typography>
<Typography
variant="body2"
className={classes.viewAll}
onClick={() => handleClickViewAll(sortByCriteria.updateTime.value)}
>
View all
</Typography>
<div>
<Typography variant="h4" align="left" className={classes.sectionTitle}>
Recently updated images
</Typography>
</div>
<div>
<Typography
variant="body2"
className={classes.viewAll}
onClick={() => handleClickViewAll(sortByCriteria.updateTime.value)}
>
View all
</Typography>
</div>
</Stack>
{renderRecentlyUpdated()}
</Stack>

View File

@ -42,8 +42,8 @@ const useStyles = makeStyles(() => ({
},
resultsWrapper: {
margin: '0',
marginTop: '-2%',
paddingTop: '3%',
marginTop: '-5%',
paddingTop: '5%',
position: 'absolute',
alignItems: 'center',
justifyContent: 'center',