Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
fix: fix css bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonzq committed Aug 24, 2019
1 parent a7f9fd4 commit 4ce4029
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 7 additions & 1 deletion assets/css/_core/_media.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@

/* iPads (portrait) ----------- */
@media only screen and (max-width: 1080px) {
.navbar {
.navbar-container {
margin: 0 2rem;
}
}

.post-warp {
max-width: 80%;

Expand All @@ -24,7 +30,7 @@
}
}

@media only screen and (max-width: 400px) {
@media only screen and (max-width: 480px) {
.navbar {
display: none;
}
Expand Down
3 changes: 1 addition & 2 deletions assets/css/_partial/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 4ce4029

Please sign in to comment.