diff options
| author | Olivi <[email protected]> | 2026-03-13 09:22:34 +0800 |
|---|---|---|
| committer | Olivi <[email protected]> | 2026-03-13 09:22:34 +0800 |
| commit | d5a1ab7b0c1934f85352d5e7c1c18044267b238d (patch) | |
| tree | 39ec632cd2987941bc5b642d3ffac8531a57d089 /src/components/SideBar.module.scss | |
| parent | 0323469f85b8331b3324153d325c5046d6843208 (diff) | |
fix(ui): prevent sidebar shrink / svg compression on Connections page
Body: Add min-width:0 / flex-shrink:0 to flex containers so sidebar stays stable and the overview svg doesn’t get squashed when the connections toolbar expands.
Diffstat (limited to 'src/components/SideBar.module.scss')
| -rw-r--r-- | src/components/SideBar.module.scss | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/components/SideBar.module.scss b/src/components/SideBar.module.scss index d927cb7..b2ba2ce 100644 --- a/src/components/SideBar.module.scss +++ b/src/components/SideBar.module.scss @@ -2,7 +2,15 @@ .root { background: var(--color-bg-sidebar); + width: 180px; + min-width: 180px; + flex-shrink: 0; position: relative; + + @media (max-width: 768px) { + width: 100%; + min-width: 0; + } } .logo_meta { @@ -67,6 +75,7 @@ color: var(--color-icon); width: 22px; height: 22px; + flex-shrink: 0; @media (--breakpoint-not-small) { width: 24px; |
