Keep the user menu and the narrow-sidebar button at the bottom of the screen when the menu scrolls
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
846af02851
commit
9782bd3252
1 file changed
+18
@@ -113,6 +113,24 @@ html[data-env] .navbar-vertical[data-bs-theme="dark"] .btn-outline-secondary {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* On a wide screen the menu scrolls inside the sidebar; the foot (who is signed in, narrow/widen) stays at the bottom of the screen instead of scrolling away with it. */
|
||||
.navbar-vertical {
|
||||
--hlm-sidebar-bg: var(--tblr-navbar-bg);
|
||||
}
|
||||
|
||||
html[data-env] .navbar-vertical {
|
||||
--hlm-sidebar-bg: var(--hlm-env-color);
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.navbar-vertical .navbar-footer {
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
z-index: 1035; /* above Tabler's open submenus (1030), which would otherwise show through */
|
||||
background-color: var(--hlm-sidebar-bg);
|
||||
}
|
||||
}
|
||||
|
||||
.user-menu-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in new issue
Block a user