Skip to content

Commit

Permalink
fix(v2): use regular div instead of main tag for wrapper layout
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 committed Nov 12, 2019
1 parent ffa6b71 commit 0fa575e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function Layout(props) {
<meta name="twitter:card" content="summary" />
</Head>
<Navbar />
<main className="main">{children}</main>
<div className="main-wrapper">{children}</div>
{!noFooter && <Footer />}
</>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ body > div {
flex-direction: column;
}

.main {
.main-wrapper {
flex: 1 0 auto;
}

0 comments on commit 0fa575e

Please sign in to comment.