diff --git a/control/frontend/src/styles.css b/control/frontend/src/styles.css index 822144c..7bf4c5a 100644 --- a/control/frontend/src/styles.css +++ b/control/frontend/src/styles.css @@ -451,14 +451,16 @@ td { transform: translateX(20px); } -/* 点击卡片后铺满视口(含带鱼屏) */ +/* 全屏:≤1920 铺满;带鱼屏内容限宽 1920,两侧留空 */ .modal-backdrop { position: fixed; inset: 0; width: 100vw; height: 100dvh; background: var(--bg, #04080e); - display: block; + display: flex; + justify-content: center; + align-items: stretch; padding: 0; margin: 0; z-index: 50; @@ -468,8 +470,8 @@ td { .modal-panel { width: 100%; + max-width: 1920px; height: 100%; - max-width: none; max-height: none; overflow: auto; background: var(--panel); @@ -480,6 +482,7 @@ td { flex-direction: column; gap: 14px; box-sizing: border-box; + flex-shrink: 0; } .modal-panel.running {