Skip to content

Commit

Permalink
fix(sidebar): no margin on mobile (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
posva authored Sep 16, 2020
1 parent 8435e36 commit 218c729
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/client/theme-default/styles/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ main {
}
}

@media screen and (max-width: 719px) {
main {
margin-left: 0;
}
}

a {
text-decoration: none;
}
Expand Down
2 changes: 1 addition & 1 deletion src/client/theme-default/styles/vars.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.theme {
--border-color: rgb(226, 232, 240);
--header-height: 3.6rem;
--sidebar-width: 20rem;
--sidebar-width: 16.4rem;
--text-color: #2c3e50;
--text-color-light: #476582;
--code-bg-color: #282c34;
Expand Down

0 comments on commit 218c729

Please sign in to comment.