mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-05 20:32:42 +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" />
|
<meta name="twitter:card" content="summary" />
|
||||||
</Head>
|
</Head>
|
||||||
<Navbar />
|
<Navbar />
|
||||||
<main className="main">{children}</main>
|
<div className="main-wrapper">{children}</div>
|
||||||
{!noFooter && <Footer />}
|
{!noFooter && <Footer />}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
|
@ -22,6 +22,6 @@ body > div {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main {
|
.main-wrapper {
|
||||||
flex: 1 0 auto;
|
flex: 1 0 auto;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue