重构代码:微调.header .nav在iPhone 6/7/8横屏下显示

This commit is contained in:
Argo-MacBookPro 2018-09-06 16:45:12 +08:00
parent dc14356606
commit ebd085b0f6
1 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,12 @@
}
}
@media (min-width: 667px) {
.header .nav {
display: flex;
}
}
@media (min-width: 768px) {
html, body {
height: 100%;
@ -30,7 +36,6 @@
}
.header .nav {
display: flex;
flex: 1 1 auto;
}