feat: move sidebar width from global setting to localStorage with view preferences UI (#2749)
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user