style: 💄 scroll only within columns so header remains visible

This commit is contained in:
Randall Morey committed 2021-02-24 10:49:19 -05:00
1 parent ae6eb97bc0
commit 80d6eda228
1 file changed
+20 -1
+20 -1
View File
@@ -19,6 +19,25 @@
}
}
/**
* This section enables scrolling within the sidebar columns separately,
* rather than the whole viewport. This ensures the sidebar and application
* header remain visible when scrolling.
*/
.rose-layout-global {
max-height: 100vh;
.rose-layout-global-body {
max-height: 100vh;
overflow: hidden;
}
.rose-layout-sidebar-sidebar,
.rose-layout-sidebar-body {
overflow-y: scroll;
}
}
.rose-nav-sidebar {
margin-top: sizing.rems(xxl);
@@ -167,7 +186,7 @@
0% {
background-color: var(--action-subtler-1);
}
100% {
background-color: transparent;
}