diff --git a/Customize-Vaultwarden-CSS.md b/Customize-Vaultwarden-CSS.md index fd66485..1acbdaf 100644 --- a/Customize-Vaultwarden-CSS.md +++ b/Customize-Vaultwarden-CSS.md @@ -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: