Cap fullscreen detail at 1920px width for ultrawide side margins.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -451,14 +451,16 @@ td {
|
|||||||
transform: translateX(20px);
|
transform: translateX(20px);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 点击卡片后铺满视口(含带鱼屏) */
|
/* 全屏:≤1920 铺满;带鱼屏内容限宽 1920,两侧留空 */
|
||||||
.modal-backdrop {
|
.modal-backdrop {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100dvh;
|
height: 100dvh;
|
||||||
background: var(--bg, #04080e);
|
background: var(--bg, #04080e);
|
||||||
display: block;
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: stretch;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
z-index: 50;
|
z-index: 50;
|
||||||
@@ -468,8 +470,8 @@ td {
|
|||||||
|
|
||||||
.modal-panel {
|
.modal-panel {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
max-width: 1920px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-width: none;
|
|
||||||
max-height: none;
|
max-height: none;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
background: var(--panel);
|
background: var(--panel);
|
||||||
@@ -480,6 +482,7 @@ td {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 14px;
|
gap: 14px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-panel.running {
|
.modal-panel.running {
|
||||||
|
|||||||
Reference in New Issue
Block a user