fix: scroll apps list in navigation rail to prevent overflow
This commit is contained in:
@@ -522,6 +522,15 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.scroll-hidden::-webkit-scrollbar {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.scroll-hidden {
|
||||||
|
-ms-overflow-style: none;
|
||||||
|
scrollbar-width: none;
|
||||||
|
}
|
||||||
|
|
||||||
/* Mobile backdrop blur support */
|
/* Mobile backdrop blur support */
|
||||||
@supports (backdrop-filter: blur(8px)) {
|
@supports (backdrop-filter: blur(8px)) {
|
||||||
.mobile-backdrop {
|
.mobile-backdrop {
|
||||||
|
|||||||
@@ -400,7 +400,7 @@ export function NavigationRail({
|
|||||||
|
|
||||||
<nav
|
<nav
|
||||||
className={cn(
|
className={cn(
|
||||||
"flex flex-col",
|
"flex flex-col flex-1 min-h-0 overflow-y-auto scroll-hidden",
|
||||||
collapsed ? "items-center gap-1 py-3 px-1" : "gap-0.5 py-2 px-2",
|
collapsed ? "items-center gap-1 py-3 px-1" : "gap-0.5 py-2 px-2",
|
||||||
)}
|
)}
|
||||||
role="navigation"
|
role="navigation"
|
||||||
|
|||||||
Reference in New Issue
Block a user