From 3f0e9d4d011426a6688410fe62de982c60655812 Mon Sep 17 00:00:00 2001 From: 7heMech <83923848+7heMech@users.noreply.github.com> Date: Sun, 15 Feb 2026 15:36:03 +0200 Subject: [PATCH] Fix collapsing --- Customize-Vaultwarden-CSS.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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: