From afd40cd0f15e39aec3d11829049c54d5371ae41a Mon Sep 17 00:00:00 2001 From: caicai8 <1149225589@qq.com> Date: Sat, 31 Aug 2019 16:52:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E6=8B=89=E7=9C=81=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/courses/members/studentsList.js | 3 ++- public/react/src/modules/courses/members/teacherList.js | 5 +++++ .../src/modules/tpm/shixunchild/Repository/Repository.js | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/courses/members/studentsList.js b/public/react/src/modules/courses/members/studentsList.js index 919292188..fc8346fa3 100644 --- a/public/react/src/modules/courses/members/studentsList.js +++ b/public/react/src/modules/courses/members/studentsList.js @@ -603,10 +603,11 @@ class studentsList extends Component{ width: 93px; } .drop_down_menu li { - overflow: visible; width:100%; box-sizing:boder-box; float:unset; + line-height:30px!important; + flex: 0 0 30px; } .drop_down_menu, .drop_down_normal { padding-top: 10px; diff --git a/public/react/src/modules/courses/members/teacherList.js b/public/react/src/modules/courses/members/teacherList.js index cd1cd3572..ee1f1dacb 100644 --- a/public/react/src/modules/courses/members/teacherList.js +++ b/public/react/src/modules/courses/members/teacherList.js @@ -683,6 +683,11 @@ class studentsList extends Component{ .dividerStyle.ant-divider-horizontal{ margin: 0px; } + + .drop_down_menu li { + line-height:30px!important; + flex: 0 0 30px; + } `}
diff --git a/public/react/src/modules/tpm/shixunchild/Repository/Repository.js b/public/react/src/modules/tpm/shixunchild/Repository/Repository.js index 077ca9bc9..a62151126 100644 --- a/public/react/src/modules/tpm/shixunchild/Repository/Repository.js +++ b/public/react/src/modules/tpm/shixunchild/Repository/Repository.js @@ -84,7 +84,7 @@ class Repository extends Component { Git使用指南 { - this.props.current_user && (this.props.current_user.admin ==true || (TPMRightSectionData&& TPMRightSectionData.creator && TPMRightSectionData.creator.login == this.props.current_user.login)) ? + this.props.current_user && (this.props.current_user.admin ==true || (TPMRightSectionData && TPMRightSectionData.creator && TPMRightSectionData.creator.login == this.props.current_user.login)) ? +添加文件:"" }