带鱼屏客户端内容锁 1800 居中,普通屏全宽;内嵌与独立打开一致。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-04 07:20:04 +08:00
parent 07db158656
commit e33d289e39
3 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -4,12 +4,12 @@
.order-entry-model-row select.order-entry-model-sub{min-width:7em;max-width:10rem}
.order-leverage-hint{font-size:.78rem;color:#cfd3ef;white-space:nowrap;align-self:center}
body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:#0b0d14;color:#eaeaea;padding:14px 12px}
/* 内容区锁定 1800,超宽两侧留白 */
.container{width:100%;max-width:min(1800px,96vw);margin:0 auto;padding:0 clamp(6px,1vw,14px)}
/* 普通屏:铺满可用宽度;带鱼屏再锁 1800(见下方 media) */
.container{width:100%;max-width:none;margin:0 auto;padding:0 clamp(6px,1vw,14px)}
body[data-embed-shell="1"] .container{
max-width:min(1800px,96vw);
max-width:none;
width:100%;
margin:0 auto;
margin:0;
padding:0 clamp(6px,1vw,14px);
}
.header{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:12px}
@@ -174,7 +174,7 @@
.panel-scroll,.pos-list{max-height:420px}
.records-card .table-wrap{max-height:620px;overflow:auto}
}
/* 带鱼屏(宽高比≥21:9):锁定 1800 居中,两侧留白 */
/* 带鱼屏:独立打开与中控内嵌内容均锁 1800 居中留白;工作台外壳由中控全屏 */
@media (min-aspect-ratio: 21/9) {
.container,
body[data-embed-shell="1"] .container{