style:修改account role下拉样式错乱的问题
This commit is contained in:
@@ -1620,11 +1620,14 @@ li{
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
.config-dropdown { /* 若宽度不合适,自行增加新类覆盖宽度 */
|
||||
width: 75px;
|
||||
width: 490px;
|
||||
}
|
||||
.asset-dropdown {
|
||||
width: 370px;
|
||||
}
|
||||
.threshold-dropdown{
|
||||
width: 75px;
|
||||
}
|
||||
.asset-dropdown .el-select-dropdown__item {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
<!--threshold-->
|
||||
<el-form-item :label="$t('alert.config.threshold')" prop="threshold" style="display: inline-block;">
|
||||
<el-input type="text" placeholder="" v-model="editAlertRule.threshold" size="small" id="alert-box-input-threshold">
|
||||
<el-select popper-class="config-dropdown" v-model="editAlertRule.operator" placeholder="" size="small" id="alert-box-input-operator" slot="prepend" class="input-with-select">
|
||||
<el-select popper-class="config-dropdown threshold-dropdown" v-model="editAlertRule.operator" placeholder="" size="small" id="alert-box-input-operator" slot="prepend" class="input-with-select">
|
||||
<el-option :id="'operator-'+item.key" v-for="item in operators" :key="item.value" :label="item.label" :value="item.value"></el-option>
|
||||
</el-select>
|
||||
</el-input>
|
||||
|
||||
Reference in New Issue
Block a user