mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-01 18:32:52 +02:00
Consolidate break points
These 900 break points were always triggered with the mobile nav. They don't make sense with the desktop navigation. See photo.
This commit is contained in:
parent
dcf50a4e4d
commit
b59b58af0d
1 changed files with 2 additions and 6 deletions
|
@ -454,7 +454,7 @@ header h2 {
|
|||
display: inline;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 900px) {
|
||||
@media only screen and (min-width: 736px) {
|
||||
.homeContainer .homeWrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
@ -463,8 +463,6 @@ header h2 {
|
|||
max-width: 600px;
|
||||
padding-right: 40px;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 736px) {
|
||||
.mainContainer .wrapper .post {
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
|
@ -1427,12 +1425,10 @@ nav.toc .toggleNav .navBreadcrumb h2 {
|
|||
display: block;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 900px) {
|
||||
@media only screen and (min-width: 736px) {
|
||||
nav.toc section .navGroups {
|
||||
padding: 40px 0 0;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 736px) {
|
||||
.navToggle {
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue