Fix collapsing

7heMech
2026-02-15 15:36:03 +02:00
parent bf38996798
commit 3f0e9d4d01

@@ -103,16 +103,14 @@ app-organization-layout bit-nav-logo bit-icon::before { background-image: $logo-
Only override width if it matches the default '18rem' inline style.
This ensures we don't break the 'Collapsed' state (4.5rem) or manual resizes.
*/
&[style*="18rem"] { width: $sidebar-width !important; }
&[style*="18rem"] { max-width: $sidebar-width !important; }
/*
When sidebar is collapsed (width is usually 4.5rem), hide the custom logo
so it doesn't look broken or clipped.
*/
&[style*="4.5rem"] {
bit-nav-logo bit-icon::before {
display: none !important;
}
bit-nav-logo bit-icon::before { display: none !important; }
/*
Optional: Show original icon again when minimized?
Remove the comment below to enable: