fix: 数据页宽度随屏幕自适应,概览去掉最近结果卡片
数据页不再受 1240px 中间栏限制,铺满屏幕宽度;小区名称列改为弹性列,吸收剩余宽度并在放不下时省略,常见屏幕下不再横向滚动。概览只保留定时任务、当前状态、最新入库三张卡片。
This commit is contained in:
+4
-4
@@ -105,6 +105,7 @@ body.body--dark {
|
||||
.etl-user-name { font-size: 13.5px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
|
||||
.etl-main { width: 100%; max-width: 1240px; margin: 0 auto; padding: 24px; flex: 1; }
|
||||
.etl-main.is-wide { max-width: none; }
|
||||
.etl-panels, .etl-panels .q-tab-panel { background: transparent !important; padding: 0 !important; color: inherit; }
|
||||
.etl-panels { width: 100%; }
|
||||
.etl-panel { display: flex !important; flex-direction: column; align-items: stretch !important; gap: 16px !important; }
|
||||
@@ -117,7 +118,7 @@ body.body--dark {
|
||||
.etl-card-title { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
|
||||
.etl-card-icon { font-size: 18px; color: var(--etl-muted); }
|
||||
|
||||
.etl-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
|
||||
.etl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
|
||||
.etl-metric { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; min-height: 132px; }
|
||||
.etl-metric-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
||||
.etl-metric-title { font-size: 13px; color: var(--etl-muted); }
|
||||
@@ -127,7 +128,6 @@ body.body--dark {
|
||||
.etl-metric-value.is-muted { color: var(--etl-muted); }
|
||||
.etl-metric-value.tone-neutral { color: var(--etl-text); }
|
||||
.etl-metric-spinner { color: var(--etl-primary); flex-shrink: 0; }
|
||||
.etl-metric-notes { display: flex; flex-direction: column; gap: 2px; min-height: 18px; }
|
||||
.etl-metric-sub { font-size: 12.5px; line-height: 1.45; color: var(--etl-muted); overflow-wrap: break-word; }
|
||||
|
||||
.tone-primary { color: var(--etl-primary); }
|
||||
@@ -211,7 +211,8 @@ body.body--dark {
|
||||
.etl-data-table .q-table__middle { flex: 1 1 auto; min-height: 0; overflow: auto; }
|
||||
.etl-data-table thead tr:first-child th { position: sticky; top: 0; z-index: 2; box-shadow: inset 0 -1px 0 var(--etl-border); }
|
||||
.etl-data-table tbody td { white-space: nowrap; }
|
||||
.etl-cell-name { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.etl-data-table td.etl-col-cell { width: 100%; max-width: 0; }
|
||||
.etl-cell-name { min-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.etl-net {
|
||||
display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px;
|
||||
font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--etl-neutral-soft); color: var(--etl-text);
|
||||
@@ -287,7 +288,6 @@ body.body--dark {
|
||||
.etl-forbidden-title { font-size: 18px; font-weight: 600; }
|
||||
|
||||
@media (max-width: 1080px) {
|
||||
.etl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
.etl-split { grid-template-columns: 1fr; }
|
||||
.etl-user-name, .etl-brand-sub { display: none; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user