Skip to content

Commit

Permalink
fix sidebar default state on mobile (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
semanticdata authored Nov 9, 2023
1 parent 88ca037 commit 9d55d5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions sass/_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,11 @@
@include variables.max-screen(600px) {
.page {
width: 100%;
left: calc(100% - 100px);
left: 0;
}

.page-without-menu {
left: 0;
left: calc(100% - 100px);
}
}

Expand Down
6 changes: 3 additions & 3 deletions sass/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@

@include variables.max-screen(600px) {
.menu {
width: calc(100% - 100px);
width: 0;
z-index: 1;
}

.menu-hidden {
width: 0;
width: calc(100% - 100px);
z-index: 0;
}
}

0 comments on commit 9d55d5c

Please sign in to comment.