Set ultrawide fish-eye container width to 1920px.
Widen centered layout on 21:9 displays from 1600 to 1920 while keeping normal screens unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -165,11 +165,11 @@
|
||||
.panel-scroll,.pos-list{max-height:420px}
|
||||
.records-card .table-wrap{max-height:620px;overflow:auto}
|
||||
}
|
||||
/* 带鱼屏(宽高比≥21:9):整页固定 1600 居中;不依赖 2000px 视口(避免 Win 缩放后失效) */
|
||||
/* 带鱼屏(宽高比≥21:9):整页固定 1920 居中;不依赖视口宽度(避免 Win 缩放后失效) */
|
||||
@media (min-aspect-ratio: 21/9) {
|
||||
.container{
|
||||
width:100%;
|
||||
max-width:min(1600px, calc(100vw - 24px));
|
||||
max-width:min(1920px, calc(100vw - 24px));
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user