fix: fix css bug

This commit is contained in:
Dillon 2019-08-25 00:44:21 +08:00
parent a7f9fd49a0
commit 4ce4029715
2 changed files with 8 additions and 3 deletions

View file

@ -11,6 +11,12 @@
/* iPads (portrait) ----------- */
@media only screen and (max-width: 1080px) {
.navbar {
.navbar-container {
margin: 0 2rem;
}
}
.post-warp {
max-width: 80%;
@ -24,7 +30,7 @@
}
}
@media only screen and (max-width: 400px) {
@media only screen and (max-width: 480px) {
.navbar {
display: none;
}

View file

@ -13,9 +13,8 @@
.navbar-container {
width: auto;
max-width: 1200px;
text-align: center;
margin: 0 auto;
margin: 0 6rem;
display: flex;
justify-content: space-between;