中控内嵌页内容宽度上限 1800 并居中,外框仍铺满工作台。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-04 21:08:57 +08:00
parent 30d7b0c872
commit 4cad929886
3 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -7,9 +7,10 @@
/* 普通屏:铺满可用宽度;带鱼屏再锁 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:none;
width:100%;
margin:0;
max-width:min(1800px, 100%);
margin-left:auto;
margin-right:auto;
padding:0 clamp(6px,1vw,14px);
}
.header{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:12px}