diff --git a/nezha-fronted/src/assets/stylus/main.scss b/nezha-fronted/src/assets/stylus/main.scss index b9c966ed7..f14bb560a 100644 --- a/nezha-fronted/src/assets/stylus/main.scss +++ b/nezha-fronted/src/assets/stylus/main.scss @@ -1620,7 +1620,7 @@ li{ margin-bottom: 0 !important; } .config-dropdown { /* 若宽度不合适,自行增加新类覆盖宽度 */ - width: 490px; + width: 75px; } .asset-dropdown { width: 370px; diff --git a/nezha-fronted/src/components/common/rightBox/alertConfigBox.vue b/nezha-fronted/src/components/common/rightBox/alertConfigBox.vue index dfb8297bf..c3c9c88bf 100644 --- a/nezha-fronted/src/components/common/rightBox/alertConfigBox.vue +++ b/nezha-fronted/src/components/common/rightBox/alertConfigBox.vue @@ -30,15 +30,16 @@ id="alert-box-input-promql" > - - - - - - + + + + + + + @@ -298,6 +299,19 @@ .unit-popper-class{ z-index: 2052 !important; } + .input-with-select{ + width: 70px !important; + } + .input-with-select #alert-box-input-operator{ + padding: 0; + text-align: center; + border-top:1px solid #d0d4dC; + border-bottom:1px solid #d0d4dC; + border-radius: 4px 0 0 4px; + } + .input-with-select #alert-box-input-operator + .el-input__suffix{ + display: none; + }