diff --git a/lib/common/static/instance_page.css b/lib/common/static/instance_page.css index c0db29f..4a35c40 100644 --- a/lib/common/static/instance_page.css +++ b/lib/common/static/instance_page.css @@ -3,8 +3,9 @@ .order-entry-model-row select.order-entry-category{min-width:4.8em;max-width:6.5em} .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 20px} - .container{width:100%;max-width:min(1440px,94vw);margin:0 auto;padding:0 clamp(8px,1.5vw,20px)} + body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:#0b0d14;color:#eaeaea;padding:14px 12px} + /* 1920 左右用满:约 96vw / 1840,两侧留白更小 */ + .container{width:100%;max-width:min(1840px,96vw);margin:0 auto;padding:0 clamp(6px,1vw,14px)} .header{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:12px} .header h1{font-size:1.75rem;color:#dbe4ff;text-align:center;line-height:1.25} .exchange-tag{font-size:.82rem;font-weight:600;color:#b8f5d0;background:#14241e;border:1px solid #2d6a4f;padding:5px 14px;border-radius:999px;letter-spacing:.06em} @@ -162,14 +163,14 @@ .records-card .table-wrap{max-height:620px;overflow:auto} } @media (min-width: 2200px){ - .container{max-width:min(1720px,90vw)} + .container{max-width:min(2040px,96vw)} } @media (min-width: 2560px){ - .container{max-width:min(1860px,88vw)} + .container{max-width:min(2360px,95vw)} .dual-panel-grid{gap:18px} } @media (min-width: 3000px){ - .container{max-width:min(1980px,86vw)} + .container{max-width:min(2800px,94vw)} .pos-grid{grid-template-columns:repeat(4,minmax(0,1fr))} } @media (max-width: 1100px){ diff --git a/lib/instance/templates/embed_shell.html b/lib/instance/templates/embed_shell.html index b1f4527..457b0c3 100644 --- a/lib/instance/templates/embed_shell.html +++ b/lib/instance/templates/embed_shell.html @@ -7,7 +7,7 @@ - + diff --git a/lib/instance/templates/index.html b/lib/instance/templates/index.html index f353bea..30c184f 100644 --- a/lib/instance/templates/index.html +++ b/lib/instance/templates/index.html @@ -18,7 +18,7 @@ {{ pwa_app_name }} - +