fix: main.scss 移动端 el-table 规则 3 个 bug
This commit is contained in:
@@ -362,12 +362,18 @@ h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; color: var(--el-text-color
|
||||
padding: 0 0 4px !important;
|
||||
}
|
||||
|
||||
/* —— el-table 移动端: 字号收紧 + 滚动提示 —— */
|
||||
.el-table {
|
||||
/* —— el-table 移动端: 字号收紧 + 滚动提示 ——
|
||||
注意: 选择器限定到 .page-card 内的表格, 避免影响 dialog 内表格 (保留桌面字号) */
|
||||
.page-card .el-table {
|
||||
font-size: 12px !important;
|
||||
}
|
||||
.el-table th.el-table__cell { font-size: 12px !important; padding: 6px 4px !important; }
|
||||
.el-table td.el-table__cell { padding: 6px 4px !important; }
|
||||
.page-card .el-table th.el-table__cell {
|
||||
font-size: 12px !important;
|
||||
padding: 6px 4px !important;
|
||||
}
|
||||
.page-card .el-table td.el-table__cell {
|
||||
padding: 6px 4px !important;
|
||||
}
|
||||
|
||||
/* —— el-tabs 移动端: 滚动 + 字号 —— */
|
||||
.el-tabs__nav-wrap--scrollable .el-tabs__nav-scroll { padding: 0 4px !important; }
|
||||
@@ -382,7 +388,7 @@ h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; color: var(--el-text-color
|
||||
padding: 10px 8px !important;
|
||||
word-break: break-word;
|
||||
}
|
||||
.el-descriptions-item__label.is-cell { font-size: 12px !important; }
|
||||
.el-descriptions-item__label { font-size: 12px !important; color: var(--el-text-color-secondary) !important; }
|
||||
|
||||
/* —— el-page-header / 通用业务页 header —— */
|
||||
.app-page-header,
|
||||
@@ -395,10 +401,6 @@ h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; color: var(--el-text-color
|
||||
.app-page-header h2,
|
||||
.page-header h2 { font-size: 17px !important; }
|
||||
|
||||
/* —— 通用容器/卡片 padding 收紧 —— */
|
||||
.app-container,
|
||||
.page-container { padding: 0 !important; }
|
||||
|
||||
/* —— 操作列 el-link 仍行内不折行 —— */
|
||||
.table-actions { flex-wrap: nowrap !important; }
|
||||
}
|
||||
Reference in New Issue
Block a user