带鱼屏客户端内容锁 1800 居中,普通屏全宽;内嵌与独立打开一致。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<script src="/static/autofill_guard.js?v=1"></script>
|
||||
<link rel="stylesheet" href="/static/instance_theme_early.css?v=4">
|
||||
<link rel="stylesheet" href="/static/account_risk_badge.css?v=4">
|
||||
<link rel="stylesheet" href="/static/instance_page.css?v=24">
|
||||
<link rel="stylesheet" href="/static/instance_page.css?v=25">
|
||||
<link rel="stylesheet" href="/static/instance_theme.css?v=126">
|
||||
<script src="/static/account_risk_badge.js?v=4"></script>
|
||||
<script src="/static/open_submit_gate.js?v=1"></script>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<link rel="apple-touch-icon" href="/static/icons/apple-touch-icon.png">
|
||||
<link rel="manifest" href="/static/icons/manifest.webmanifest">
|
||||
<title>{{ pwa_app_name }}</title>
|
||||
<link rel="stylesheet" href="/static/instance_page.css?v=24">
|
||||
<link rel="stylesheet" href="/static/instance_page.css?v=25">
|
||||
<link rel="stylesheet" href="/static/instance_theme.css?v=126">
|
||||
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user