dev_forum
hjm 6 years ago
parent 7f071501da
commit 91dd24c8e6

@ -1,12 +1,17 @@
i.iconfont { i.iconfont {
cursor: pointer; cursor: pointer;
} }
.overflowHidden1{ .overflowHidden1 {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
display: inline-block; display: inline-block;
} }
.overflowHidden2 {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* BASICS */ /* BASICS */
.editormd-preview ol li { .editormd-preview ol li {

@ -192,7 +192,14 @@ class shixunAnswer extends Component{
title: '任务名称', title: '任务名称',
dataIndex: 'shixunName', dataIndex: 'shixunName',
key: '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: '评测次数', title: '评测次数',
dataIndex: 'testCount', dataIndex: 'testCount',

Loading…
Cancel
Save