style: set max-height for namespace dropdown menu (#693)

Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
Andy Lee 2026-01-30 16:43:15 +08:00 committed by GitHub
parent 77599900b5
commit 8b9b5b41b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {