feat: move sidebar width from global setting to localStorage with view preferences UI (#2749)

This commit is contained in:
ACX
2026-02-14 15:32:12 -07:00
committed by GitHub
parent 9fa7b0736c
commit 8c319122bb
16 changed files with 262 additions and 23 deletions
@@ -447,7 +447,7 @@
z-index: 50;
@media (max-width: 991px) {
width: 225px;
width: var(--sidebar-width, 225px);
position: fixed;
top: 3.85rem;
right: 0;
@@ -478,7 +478,7 @@
}
&.active {
width: 225px;
width: var(--sidebar-width, 225px);
opacity: 1;
pointer-events: auto;
margin-left: 1rem;
@@ -7,7 +7,7 @@
}
:host ::ng-deep .cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper {
width: 190px !important;
width: calc(var(--sidebar-width, 225px) - 35px) !important;
min-width: unset;
}