mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 08:19:07 +02:00
chore: revert full-width nav changes
This commit is contained in:
parent
db9e07886c
commit
8bcb5d3365
2 changed files with 5 additions and 24 deletions
|
@ -1500,8 +1500,7 @@ input::placeholder {
|
|||
|
||||
@media only screen and (min-width: 1024px) {
|
||||
.docMainWrapper {
|
||||
max-width: 100% !important ;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.docMainWrapper > * {
|
||||
|
@ -1608,9 +1607,7 @@ input::placeholder {
|
|||
|
||||
@media only screen and (min-width: 1024px) {
|
||||
.docsNavContainer {
|
||||
flex: 1 0 240px;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
flex: 0 0 240px;
|
||||
height: calc(100vh - 50px);
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
|
@ -1653,7 +1650,7 @@ input::placeholder {
|
|||
}
|
||||
|
||||
.separateOnPageNav .docsNavContainer {
|
||||
flex: 1 0 240px;
|
||||
flex: 0 0 240px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2012,11 +2009,6 @@ input::placeholder {
|
|||
width: auto;
|
||||
}
|
||||
|
||||
.docsNavContainer > :first-child {
|
||||
width: 240px;
|
||||
max-width: 240px;
|
||||
}
|
||||
|
||||
.separateOnPageNav.sideNavVisible .navPusher .mainContainer {
|
||||
flex: 1 auto;
|
||||
max-width: 100%;
|
||||
|
@ -2034,10 +2026,6 @@ input::placeholder {
|
|||
top: 90px;
|
||||
}
|
||||
|
||||
.docOnPageNav {
|
||||
flex: 1 0 240px;
|
||||
}
|
||||
|
||||
.onPageNav > .toc-headings {
|
||||
border-left: 1px solid #e0e0e0;
|
||||
padding: 10px 0 2px 15px;
|
||||
|
@ -2049,13 +2037,6 @@ input::placeholder {
|
|||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1024px) {
|
||||
.separateOnPageNav.sideNavVisible .navPusher .docMainContainer {
|
||||
flex-basis: 784px;
|
||||
flex-grow: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Blog */
|
||||
.blog .wrapper {
|
||||
max-width: 1100px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue