Skip to content

Commit

Permalink
Decrease gaps between elements in the landing pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
fsargent committed Oct 21, 2024
1 parent e567347 commit f238c86
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions packages/frontend/src/components/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,8 @@ const LandingPage = () => {
width: '100%',
display: 'flex',
flexDirection: 'column',
gap: '20rem',
minHeight: '600px',
gap: '1rem',
margin: 'auto',
paddingTop: '8rem',
paddingBottom: '8rem',
}}>
<Box sx={{position:'absolute', top: '95vh', width: '100%', textAlign: 'center'}}>
<KeyboardArrowDownRoundedIcon sx={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ export default ({}) => {
<Box display='flex' flexDirection='column' sx={{
alignItems: 'center',
textAlign: 'center',
width: {xs: '100%', md: '600px'}, // not the same ax maxWidth 600px!, we want to make sure the carousel doesn't effect size on larger screens
minHeight: '600px'
}}>
<Typography variant="h4" color={'lightShade.contrastText'}> {t('landing_page.hero.title')} </Typography>
<Box width='90%' display='flex' flexDirection='row' justifyContent='space-between' sx={{alignItems: 'center', paddingBottom: 3}}>
Expand Down

0 comments on commit f238c86

Please sign in to comment.