From 8b9b5b41b7f92ea5c6a58da6c72e1f7c2586011e Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Fri, 30 Jan 2026 16:43:15 +0800 Subject: [PATCH] style: set max-height for namespace dropdown menu (#693) Signed-off-by: Andy Lee --- pkg/harvester/dialog/HarvesterSupportBundle.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkg/harvester/dialog/HarvesterSupportBundle.vue b/pkg/harvester/dialog/HarvesterSupportBundle.vue index e228c369..8a6e3ab4 100644 --- a/pkg/harvester/dialog/HarvesterSupportBundle.vue +++ b/pkg/harvester/dialog/HarvesterSupportBundle.vue @@ -277,8 +277,9 @@ export default { :label="t('harvester.modal.bundle.namespaces.label')" :clearable="true" :multiple="true" + :append-to-body="false" :options="namespaceOptions" - class="mb-10 label-select" + class="mb-10 namespace-select" :tooltip="t('harvester.modal.bundle.namespaces.tooltip', _, true)" @update:value="updateNamespaces" /> @@ -372,6 +373,11 @@ export default { padding: 10px 0; height: 160px; } + .namespace-select { + :deep(.vs__dropdown-menu) { + max-height: 210px; + } + } } div {