Wiring up the toggles

This commit is contained in:
shamoon
2026-09-08 12:09:59 -07:00
parent d66c681aae
commit 5ecf06463d
8 changed files with 126 additions and 15 deletions
@@ -33,6 +33,22 @@
display: none !important;
}
&.sidebar-customizing .sidebar-customizable-item {
position: relative;
.nav-link,
.nav-anchor {
padding-right: 3.5rem;
}
.sidebar-item-toggle {
position: absolute;
top: 50%;
right: 0.25rem;
transform: translateY(-50%);
}
}
@media (min-width: 768px) {
--pngx-sidebar-width: var(--pngx-sidebar-expanded-width);
}
@@ -121,6 +137,10 @@ main {
.sidebar.slim {
max-width: 55px;
.sidebar-item-toggle {
display: none;
}
li.nav-item span.badge {
display: inline-block;
margin-right: -4px;