下拉省略

dev_aliyun_beta
caicai8 6 years ago
parent fcb22bf37e
commit afd40cd0f1

@ -603,10 +603,11 @@ class studentsList extends Component{
width: 93px; width: 93px;
} }
.drop_down_menu li { .drop_down_menu li {
overflow: visible;
width:100%; width:100%;
box-sizing:boder-box; box-sizing:boder-box;
float:unset; float:unset;
line-height:30px!important;
flex: 0 0 30px;
} }
.drop_down_menu, .drop_down_normal { .drop_down_menu, .drop_down_normal {
padding-top: 10px; padding-top: 10px;

@ -683,6 +683,11 @@ class studentsList extends Component{
.dividerStyle.ant-divider-horizontal{ .dividerStyle.ant-divider-horizontal{
margin: 0px; margin: 0px;
} }
.drop_down_menu li {
line-height:30px!important;
flex: 0 0 30px;
}
`}</style> `}</style>
<div className="mt20 edu-back-white padding20 teacherList"> <div className="mt20 edu-back-white padding20 teacherList">

@ -84,7 +84,7 @@ class Repository extends Component {
<a href="/forums/2784" target="_blank" <a href="/forums/2784" target="_blank"
className=" guideBtn" >Git使用指南</a> className=" guideBtn" >Git使用指南</a>
{ {
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)) ?
<ActionBtn style="orangeLine" className="ml20" to={`/shixuns/${match.params.shixunId}/repository/add_file`}>+添加文件</ActionBtn>:"" <ActionBtn style="orangeLine" className="ml20" to={`/shixuns/${match.params.shixunId}/repository/add_file`}>+添加文件</ActionBtn>:""
} }

Loading…
Cancel
Save