Spaces:
Paused
Paused
dushyantsingh0 commited on
Commit ·
3dfbdea
1
Parent(s): 4e35ae1
ui: enable scrolling for sidebar menu to support extensive superadmin options
Browse files
frontend/apps/internal/src/components/SideNav.module.css
CHANGED
|
@@ -172,6 +172,24 @@ div[class*="pulseRing"] {
|
|
| 172 |
display: flex;
|
| 173 |
flex-direction: column;
|
| 174 |
gap: 4px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 175 |
}
|
| 176 |
|
| 177 |
.item {
|
|
|
|
| 172 |
display: flex;
|
| 173 |
flex-direction: column;
|
| 174 |
gap: 4px;
|
| 175 |
+
overflow-y: auto;
|
| 176 |
+
overflow-x: hidden;
|
| 177 |
+
scrollbar-width: none; /* Hide for Firefox */
|
| 178 |
+
-ms-overflow-style: none; /* Hide for IE/Edge */
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
.menu::-webkit-scrollbar {
|
| 182 |
+
display: none; /* Hide scrollbar for Chrome/Safari by default */
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
+
.menu:hover::-webkit-scrollbar {
|
| 186 |
+
display: block;
|
| 187 |
+
width: 4px;
|
| 188 |
+
}
|
| 189 |
+
|
| 190 |
+
.menu::-webkit-scrollbar-thumb {
|
| 191 |
+
background: var(--border-subtle);
|
| 192 |
+
border-radius: 10px;
|
| 193 |
}
|
| 194 |
|
| 195 |
.item {
|