diff --git a/frontend/src/assets/styles/education-theme.scss b/frontend/src/assets/styles/education-theme.scss index 9d57d72fc..1bd7a1ce3 100644 --- a/frontend/src/assets/styles/education-theme.scss +++ b/frontend/src/assets/styles/education-theme.scss @@ -335,6 +335,12 @@ button:focus-visible, border-bottom-color: #e7eeeb; } +/* 主列表与弹窗选择列表统一居中,避免未声明 align 的字段退回左对齐。 */ +body .el-table th.el-table__cell, +body .el-table td.el-table__cell { + text-align: center; +} + #app .el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell { background: #f2f8f5; }