Cap fullscreen detail at 1920px width for ultrawide side margins.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-02 10:17:07 +08:00
parent 987467a808
commit cad86813dc
+6 -3
View File
@@ -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 {