mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-14 09:37:37 +02:00
Fix nav to take full width in the docs page (#935)
* Fix nav to take full width in the docs page Fix #911 * Remove using important in css * Make Getting started flushed together with icon
This commit is contained in:
parent
89f49b02c8
commit
f2dceffc09
2 changed files with 25 additions and 5 deletions
|
@ -78,7 +78,7 @@ class DocsLayout extends React.Component {
|
|||
metadata={metadata}>
|
||||
<div className="docMainWrapper wrapper">
|
||||
<DocsSidebar metadata={metadata} />
|
||||
<Container className="mainContainer">
|
||||
<Container className="mainContainer docMainContainer">
|
||||
<DocComponent
|
||||
metadata={metadata}
|
||||
content={content}
|
||||
|
@ -133,7 +133,7 @@ class DocsLayout extends React.Component {
|
|||
)}
|
||||
</Container>
|
||||
{hasOnPageNav && (
|
||||
<nav className="onPageNav">
|
||||
<nav className="onPageNav docOnPageNav">
|
||||
<OnPageNav rawContent={content} />
|
||||
</nav>
|
||||
)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue