dev_forum
hjm 6 years ago
parent 7f071501da
commit 91dd24c8e6

@ -7,6 +7,11 @@ i.iconfont {
white-space: nowrap;
display: inline-block;
}
.overflowHidden2 {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* BASICS */
.editormd-preview ol li {

@ -192,7 +192,14 @@ class shixunAnswer extends Component{
title: '任务名称',
dataIndex: 'shixunName',
key: 'shixunName',
className:"edu-txt-left with22"
className:"edu-txt-left with22 ",
render:(shixunName,item,index)=>{
return(
<span className="overflowHidden1" style={{maxWidth: '400px'}}
title={shixunName && shixunName.length > 25 ? shixunName : ''}
>{shixunName}</span>
)
}
}, {
title: '评测次数',
dataIndex: 'testCount',

Loading…
Cancel
Save