diff --git a/nezha-fronted/src/assets/css/common/rightBoxCommon.scss b/nezha-fronted/src/assets/css/common/rightBoxCommon.scss index ead66c37f..f0e655a12 100644 --- a/nezha-fronted/src/assets/css/common/rightBoxCommon.scss +++ b/nezha-fronted/src/assets/css/common/rightBoxCommon.scss @@ -316,10 +316,12 @@ margin-bottom: 0 !important; } .api-select.right-public-box-select-top.right-public-box-dropdown-top { - width: 210px; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; + .el-scrollbar__view.el-select-dropdown__list { + width: 210px; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + } } .dc-dropdown.right-public-box-dropdown-top,.right-public-box-select-top.right-public-box-dropdown-top { margin: 5px 0 !important; diff --git a/nezha-fronted/src/components/common/rightBox/asset/assetBatchEditBox.vue b/nezha-fronted/src/components/common/rightBox/asset/assetBatchEditBox.vue index cbea14eb8..e5614221a 100644 --- a/nezha-fronted/src/components/common/rightBox/asset/assetBatchEditBox.vue +++ b/nezha-fronted/src/components/common/rightBox/asset/assetBatchEditBox.vue @@ -43,8 +43,8 @@ - - + + @@ -130,6 +130,7 @@ v-model="label.value[0]" :type="JSON.parse(label.param).subType === assetConstants.labelSubTypeData.date ? 'dateRange' : 'datetimerange'" placeholder="" + popper-class="right-box-select-top right-public-box-dropdown-top" size="small" style="width: 100%"> @@ -140,6 +141,7 @@ v-model="label.value[0]" :type="JSON.parse(label.param).subType" placeholder="" + popper-class="right-box-select-top right-public-box-dropdown-top" size="small" style="width: 100%" value-format="yyyy-MM-dd"> @@ -161,7 +163,7 @@ :options="fieldGroupData" :props="labelCascProp" class="hide-input" - popper-class="prevent-clickoutside right-public-box-dropdown-top limit-height" + popper-class="prevent-clickoutside right-public-box-select-top.right-public-box-dropdown-top limit-height" size="small" @change="addLabel" > diff --git a/nezha-fronted/src/components/common/rightBox/asset/assetBox.vue b/nezha-fronted/src/components/common/rightBox/asset/assetBox.vue index 045f14499..56e4eaaf4 100644 --- a/nezha-fronted/src/components/common/rightBox/asset/assetBox.vue +++ b/nezha-fronted/src/components/common/rightBox/asset/assetBox.vue @@ -108,7 +108,7 @@