mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-01 07:37:55 -05:00
@@ -27,6 +27,7 @@ const Nav = () => {
|
||||
position="sticky"
|
||||
alignSelf="flex-start"
|
||||
display={["none", null, null, "block"]}
|
||||
className="scrollableNavigation"
|
||||
>
|
||||
{navItems.map(({ code, name }) => {
|
||||
const isActive = navItem?.code === code;
|
||||
|
||||
@@ -176,3 +176,14 @@ For React Datepicker
|
||||
color: var(--text);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.scrollableNavigation {
|
||||
max-height: calc(100vh - 1rem);
|
||||
overflow-y: auto;
|
||||
-ms-overflow-style: none; /* IE and Edge */
|
||||
scrollbar-width: none; /* Firefox */
|
||||
}
|
||||
|
||||
.scrollableNavigation::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user