From 703747ae39fb2af5551faa92c0c6249b66d4941e Mon Sep 17 00:00:00 2001 From: Alexandre Rousseau Date: Tue, 17 Dec 2024 10:52:44 +0100 Subject: [PATCH 1/6] feat(ui): improve `WdsDropdownMenu` search bar Make the search field sticky on the top. --- src/ui/src/wds/WdsDropdownMenu.vue | 34 ++++++++++++++++++------------ 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/src/ui/src/wds/WdsDropdownMenu.vue b/src/ui/src/wds/WdsDropdownMenu.vue index 04d893e70..96ce9446d 100644 --- a/src/ui/src/wds/WdsDropdownMenu.vue +++ b/src/ui/src/wds/WdsDropdownMenu.vue @@ -1,15 +1,17 @@ @@ -116,6 +114,7 @@ import BuilderSelect from "../BuilderSelect.vue"; import type { Option } from "../BuilderSelect.vue"; import WdsFieldWrapper from "@/wds/WdsFieldWrapper.vue"; import WdsTextInput from "@/wds/WdsTextInput.vue"; +import WdsButton from "@/wds/WdsButton.vue"; const wf = inject(injectionKeys.core); const ssbm = inject(injectionKeys.builderManager); @@ -343,10 +342,6 @@ const copyToClipboard = (text: string) => { gap: 24px; } -.customHandler { - margin-top: 24px; -} - .addHandler .fields { display: flex; gap: 16px; diff --git a/src/ui/src/wds/WdsFieldWrapper.vue b/src/ui/src/wds/WdsFieldWrapper.vue index 1b5cfdce3..6ab382cb5 100644 --- a/src/ui/src/wds/WdsFieldWrapper.vue +++ b/src/ui/src/wds/WdsFieldWrapper.vue @@ -7,15 +7,18 @@ > : {{ unit }} - +
{{ hint }}
@@ -23,6 +26,8 @@