diff --git a/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue b/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue index ab8f99ba5..9a5e094a3 100644 --- a/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue +++ b/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue @@ -1643,8 +1643,8 @@ export default { padding-left: 0; } /deep/ .el-tabs__item{ - width: 90px; - padding: 0; + min-width: 90px; + padding: 0 10px 0 10px; text-align: center; } /deep/ .el-tabs__item.is-active{ diff --git a/nezha-fronted/src/components/common/rightBox/moduleBox.vue b/nezha-fronted/src/components/common/rightBox/moduleBox.vue index e5c836193..c7c4282a5 100644 --- a/nezha-fronted/src/components/common/rightBox/moduleBox.vue +++ b/nezha-fronted/src/components/common/rightBox/moduleBox.vue @@ -1455,8 +1455,8 @@ export default { padding-left: 0; } /deep/ .el-tabs__item{ - width: 90px; - padding: 0; + min-width: 90px; + padding: 0 10px 0 10px; text-align: center; } /deep/ .el-tabs__item.is-active{