diff --git a/src/views/course/ManageList.vue b/src/views/course/ManageList.vue index dbc04a28..4c8b8ce3 100644 --- a/src/views/course/ManageList.vue +++ b/src/views/course/ManageList.vue @@ -922,13 +922,13 @@ export default { width: 100%; overflow-x: auto; } -::v-deep .course-table-wrapper .el-table{ - min-width: 100%; - width: max-content; -} ::v-deep .course-table-wrapper .el-table__body-wrapper{ overflow-x: auto; } +::v-deep .course-table-wrapper .el-table__body, +::v-deep .course-table-wrapper .el-table__header{ + width: max-content !important; +} .course-types { display: flex; justify-content: center;