全局表格字段居中显示

This commit is contained in:
2026-08-23 16:31:38 +08:00
parent 370cb615d0
commit cc623d5fdb
2 changed files with 12 additions and 9 deletions
+11 -8
View File
@@ -1,4 +1,4 @@
/**
/**
* 通用css样式布局处理
* Copyright (c) 2019 roomroot
*/
@@ -93,13 +93,16 @@
}
.el-table {
.el-table__header-wrapper, .el-table__fixed-header-wrapper {
th {
word-break: break-word;
background-color: #f8f8f9;
color: #515a6e;
height: 40px;
font-size: 13px;
th {
word-break: break-word;
background-color: #f8f8f9;
color: #515a6e;
height: 40px;
font-size: 13px;
text-align: center;
.cell {
text-align: center;
}
}