From efab56510074bfedef8e7938e017c146f7873c4f Mon Sep 17 00:00:00 2001 From: YunLong Date: Wed, 1 Apr 2026 19:02:35 +0800 Subject: [PATCH] fix: position custom select dropdown absolutely to prevent modal height stretching --- frontend/src/components/DynamicFormField.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/DynamicFormField.vue b/frontend/src/components/DynamicFormField.vue index c24dc66c..5ce2d55b 100755 --- a/frontend/src/components/DynamicFormField.vue +++ b/frontend/src/components/DynamicFormField.vue @@ -1312,13 +1312,14 @@ input:checked + .switch-slider:before { } .custom-select-dropdown { - position: static; + position: absolute; + z-index: 100; max-height: 200px; overflow-y: auto; background-color: rgba(25, 25, 25, 0.95); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 8px; - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); margin-top: 2px; width: 100%; }