-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Currently, mobile hero section is managed with hard-coded viewport height. We should use flex and flex-grow. However, to push the footer on the bottom, we use flex-grow on main tag. This makes main's length too long. If we use the flex-grow on hero section, it has no effects.
Expected behavior: Hero section grows to remaining viewport height.
Render tree:
<Layout>
<Header>
<main>
<page>
<Hero></Hero>
...
</page>
<Footer>
</Footer>
</main>
</Header>
</Layout>