Skip to content

Commit

Permalink
Fix mobile navigation...
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasdelellis committed Feb 6, 2024
1 parent 5bd29a5 commit 3703403
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions css/not-vue.css
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,40 @@

#app-navigation:not(.vue) .collapsible:hover > a, #app-navigation:not(.vue) .collapsible:focus > a {
background-image: none;
}

/* mobile.css */

@media only screen and (width < 1024px) {

#app-navigation:not(.vue) {
transform: translateX(-300px);
position: fixed;
height: var(--body-height);
}

.snapjs-left #app-navigation {
transform: translateX(0);
}

#app-navigation:not(.hidden) + #app-content {
margin-left: 0;
}

#app-navigation-toggle {
position: fixed;
display: inline-block !important;
left: 0;
width: 44px;
height: 44px;
z-index: 1050;
cursor: pointer;
opacity: 0.6;
}

#app-navigation-toggle:hover,
#app-navigation-toggle:focus {
opacity: 1;
}

}

0 comments on commit 3703403

Please sign in to comment.