NEZ-670 fix: 修改prominput错位问题
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
<el-input id="alert-box-input-name" v-model="editAlertRule.name" maxlength="64" placeholder="" show-word-limit size="small"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item :label='$t("alert.config.expr")' prop="expr" >
|
||||
<el-row style="height: 32px; line-height: 32px;">
|
||||
<promql-input
|
||||
id="alert-box-input-promql"
|
||||
ref="promql"
|
||||
@@ -28,6 +29,7 @@
|
||||
:styleType="2"
|
||||
@change="metricChange"
|
||||
></promql-input>
|
||||
</el-row>
|
||||
</el-form-item>
|
||||
<!--threshold-->
|
||||
<el-form-item :label="$t('alert.config.threshold')" prop="threshold" style="display: inline-block;">
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
></el-autocomplete>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('config.exprTemp.expression')" prop="expression">
|
||||
<!--<el-input v-model="editExprTemp.expression" size="small" :placeholder="$t('overall.placeHolder')"></el-input>-->
|
||||
<el-row style="height: 32px; line-height: 32px;">
|
||||
<promql-input
|
||||
:id="'promqlKeys0'"
|
||||
:key="'promqlKeys0'"
|
||||
@@ -40,6 +40,7 @@
|
||||
:styleType="2"
|
||||
@change="expressionChange"
|
||||
></promql-input>
|
||||
</el-row>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('config.exprTemp.remark')" prop="remark">
|
||||
<el-input
|
||||
|
||||
@@ -61,7 +61,6 @@
|
||||
margin-right: 10px;
|
||||
text-align: left;
|
||||
padding-left:10px;
|
||||
margin-left: 10px;
|
||||
height: 32px;
|
||||
border-radius: $--primary-border-radius;
|
||||
line-height: 32px;
|
||||
|
||||
@@ -629,7 +629,6 @@ export default {
|
||||
/*'text-align':'left', 'color': '#666',*/
|
||||
/*'font-weight':plugins.indexOf('metric-selector') > -1 ?'400':'bold',*/
|
||||
width:100px;
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
height: 32px;
|
||||
text-align: left;
|
||||
|
||||
Reference in New Issue
Block a user