item宽度超长

competitions
hjm 5 years ago
parent 8466f8ef3b
commit dea0ff8819

@ -350,6 +350,12 @@ class PollDetailTabForthRules extends Component{
<span className="fl pr20 color-grey-c with25">(学生收到{this.props.moduleName || (this.props.type==="Exercise"?"试卷":"问卷")}的时间)</span> <span className="fl pr20 color-grey-c with25">(学生收到{this.props.moduleName || (this.props.type==="Exercise"?"试卷":"问卷")}的时间)</span>
<span className="fl color-grey-c">({this.props.moduleName == '作业' ? '学生“按时”提交作品的时间截点' : '学生可以答题的时间截点'})</span> <span className="fl color-grey-c">({this.props.moduleName == '作业' ? '学生“按时”提交作品的时间截点' : '学生可以答题的时间截点'})</span>
</p> </p>
{/* item宽度超长 */}
<style>{`
.setInfo .ant-select-selection--multiple .ant-select-selection__choice__content {
max-width: 300px;
}
`}</style>
{ {
rules && rules.length > 0 && rules.map((rule,r)=>{ rules && rules.length > 0 && rules.map((rule,r)=>{
@ -383,7 +389,8 @@ class PollDetailTabForthRules extends Component{
`.ant-select{ `.ant-select{
min-width:200px, min-width:200px,
min-heigth:200px min-heigth:200px
}` }
`
} }
</style> </style>
<Tooltip placement="bottom" <Tooltip placement="bottom"

Loading…
Cancel
Save