Commit 058d9287 authored by xixinzhao's avatar xixinzhao

增加危险因素下拉滚动条

parent 2959f915
......@@ -418,6 +418,12 @@ $scrollInnerColor: rgba(black, 0.1);
}
}
.risk-model-select {
min-width: 25rem;
overflow: auto;
max-height: 300px;
}
.fmea-model {
width: 100%;
height: 100%;
......@@ -439,19 +445,6 @@ $scrollInnerColor: rgba(black, 0.1);
}
}
.fmea-model-select {
min-width: 25rem;
}
.fmea-model-select {
min-width: 25rem;
&.short-select{
width: 15rem;
min-width: 10rem;
}
}
.amos-popover-content {
> ul {
height: 205px;
......
......@@ -122,7 +122,7 @@ class RiskFactorModel extends Component {
{/* <div className="risk-factor-select" style={{ height: '200px' }} > */}
<div className="risk-factor-select" >
<MultiSelect
className="fmea-model-select"
popoverClassName="risk-model-select"
data={riskFactorData}
renderOption={item => <multiSelectOption value={parseInt(item.id)}>{item.name}</multiSelectOption>}
values={form.riskFactorIds}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment