diff --git a/public/react/src/modules/courses/css/Courses.css b/public/react/src/modules/courses/css/Courses.css index ff5ad3e7e..5766c571c 100644 --- a/public/react/src/modules/courses/css/Courses.css +++ b/public/react/src/modules/courses/css/Courses.css @@ -949,6 +949,11 @@ kbd, samp { font-family: "Monospaced Number", "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; } + +/* 表格间距太大 */ +.ant-table-tbody>tr>td, .ant-table-thead>tr>th { + padding: 16px 0px; +} /* FORM START */ .ant-form label{ /* 为了覆盖antd的样式,这里使用了important,TODO */ diff --git a/public/react/src/modules/courses/graduation/tasks/GraduationTasksappraiseMainEditor.js b/public/react/src/modules/courses/graduation/tasks/GraduationTasksappraiseMainEditor.js index dc87c9272..24fdd75cf 100644 --- a/public/react/src/modules/courses/graduation/tasks/GraduationTasksappraiseMainEditor.js +++ b/public/react/src/modules/courses/graduation/tasks/GraduationTasksappraiseMainEditor.js @@ -72,7 +72,7 @@ class GraduationTasksappraiseMainEditor extends Component{ } clearInputs = () => { this.setState({ - score: 0, + score: undefined, same_score: false, fileList: [] })