mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-31 18:07:00 +02:00
fix(v2): use regular div instead of main tag for wrapper layout (#1978)
This commit is contained in:
parent
2493583fe2
commit
137e548aef
2 changed files with 2 additions and 2 deletions
|
@ -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 />}
|
||||
</>
|
||||
);
|
||||
|
|
|
@ -22,6 +22,6 @@ body > div {
|
|||
flex-direction: column;
|
||||
}
|
||||
|
||||
.main {
|
||||
.main-wrapper {
|
||||
flex: 1 0 auto;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue