全局表格字段居中显示
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/**
|
/**
|
||||||
* 通用css样式布局处理
|
* 通用css样式布局处理
|
||||||
* Copyright (c) 2019 roomroot
|
* Copyright (c) 2019 roomroot
|
||||||
*/
|
*/
|
||||||
@@ -93,13 +93,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.el-table {
|
.el-table {
|
||||||
.el-table__header-wrapper, .el-table__fixed-header-wrapper {
|
th {
|
||||||
th {
|
word-break: break-word;
|
||||||
word-break: break-word;
|
background-color: #f8f8f9;
|
||||||
background-color: #f8f8f9;
|
color: #515a6e;
|
||||||
color: #515a6e;
|
height: 40px;
|
||||||
height: 40px;
|
font-size: 13px;
|
||||||
font-size: 13px;
|
text-align: center;
|
||||||
|
|
||||||
|
.cell {
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -434,7 +434,7 @@ export default {
|
|||||||
|
|
||||||
th {
|
th {
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
text-align: left;
|
text-align: center;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: var(--edu-green-dark);
|
color: var(--edu-green-dark);
|
||||||
border-bottom: 1px solid rgba(0, 135, 90, 0.1);
|
border-bottom: 1px solid rgba(0, 135, 90, 0.1);
|
||||||
|
|||||||
Reference in New Issue
Block a user