diff --git a/nezha-fronted/src/assets/css/components/common/deleteButton.scss b/nezha-fronted/src/assets/css/components/common/deleteButton.scss index b088fa3b9..de2fd56c8 100644 --- a/nezha-fronted/src/assets/css/components/common/deleteButton.scss +++ b/nezha-fronted/src/assets/css/components/common/deleteButton.scss @@ -57,10 +57,13 @@ margin-right: 28px; width: 100px; transition: all 0.3s; + flex-shrink: 0; } .batch-delete-item-name{ margin-left: 14px; flex: 1; + flex-shrink: 0; + width: calc(100% - 190px); .tree-body-children:nth-of-type(1){ margin-top: 10px; } @@ -73,7 +76,7 @@ } .batch-delete-item-text{ display: inline-block; - width: calc(100% - 40px); + width: calc(100% - 75px); vertical-align: middle; } .el-checkbox-group{ diff --git a/nezha-fronted/src/components/common/deleteButton.vue b/nezha-fronted/src/components/common/deleteButton.vue index 7fa4e1317..8041d553a 100644 --- a/nezha-fronted/src/components/common/deleteButton.vue +++ b/nezha-fronted/src/components/common/deleteButton.vue @@ -17,7 +17,7 @@ v-if="dialogVisible" :visible.sync="dialogVisible" @close='handleClose' - width="460px" + width="660px" :modal-append-to-body="true" :append-to-body="true" > @@ -39,7 +39,7 @@