Last active
October 31, 2023 18:34
-
-
Save dmason30/bf2feb07d641cff8cc786842aa9d6bf6 to your computer and use it in GitHub Desktop.
Nova >=4.28.0 scrollable menu css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#nova > div:first-child > header { | |
margin-top: 0; | |
position: fixed; | |
top: 0; | |
width: 100%; | |
z-index: 50 | |
} | |
#nova [dusk=content] { | |
padding-top: 3.5rem | |
} | |
.sidebar-section-title { | |
margin-top: 5px | |
} | |
@media (min-width: 992px) { | |
#nova [dusk=content] { | |
padding-top: 2.5rem | |
} | |
#nova header .dropdown { | |
margin-right: 0 | |
} | |
#nova header .dropdown, .sidebar-menu { | |
position: fixed | |
} | |
.sidebar-menu { | |
height: 100%; | |
overflow-y: auto; | |
padding-left: .75rem; | |
padding-right: .75rem; | |
scrollbar-width: none; | |
width: 250px; | |
z-index: 44 | |
} | |
.sidebar-menu::-webkit-scrollbar { | |
display: none | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment