fix(monitoring): restore Cloud in-flight snapshots and collapsed dock

This commit is contained in:
RockChinQ
2026-10-15 16:42:24 +08:00
parent bf5dc67d1c
commit 338b856eec
5 changed files with 89 additions and 2 deletions
@@ -166,7 +166,7 @@ function WorkspaceMonitor() {
<aside
ref={dock.panel}
style={{ width: collapsed ? 26 : 'min(320px, calc(100vw - 24px))' }}
className={`fixed top-0 right-0 z-40 max-h-[calc(100dvh-24px)] overflow-y-auto rounded-l-xl border border-r-0 bg-popover text-popover-foreground shadow-lg ${styles.panel}`}
className={`fixed top-0 right-0 z-40 max-h-[calc(100dvh-24px)] ${collapsed ? 'overflow-hidden' : 'overflow-y-auto'} rounded-l-xl border border-r-0 bg-popover text-popover-foreground shadow-lg ${styles.panel}`}
aria-label={t('inflight.title')}
>
<div