mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-22 09:49:20 -07:00
Fix collapsing
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user