From aed2e2c49aa012198a131c8feab003a13a4510aa Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Wed, 24 Feb 2021 15:34:31 +0000 Subject: [PATCH 1/2] Fixing some CSS bugs in the automation bindings popover. --- .../automation/SetupPanel/GenericBindingPopover.svelte | 10 +++++++++- .../builder/src/components/common/BindableInput.svelte | 3 ++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/packages/builder/src/components/automation/SetupPanel/GenericBindingPopover.svelte b/packages/builder/src/components/automation/SetupPanel/GenericBindingPopover.svelte index e6818518ad..06013cfea2 100644 --- a/packages/builder/src/components/automation/SetupPanel/GenericBindingPopover.svelte +++ b/packages/builder/src/components/automation/SetupPanel/GenericBindingPopover.svelte @@ -143,10 +143,18 @@ margin-top: 0; } .bindings__wrapper { - overflow-y: auto; + overflow-y: scroll; + overflow-x: hidden; position: relative; flex: 1 1 auto; + -ms-overflow-style: none; } + + .bindings__wrapper::-webkit-scrollbar { + width: 0; + height: 0; + } + .bindings__list { position: absolute; width: 100%; diff --git a/packages/builder/src/components/common/BindableInput.svelte b/packages/builder/src/components/common/BindableInput.svelte index 6234e3e046..a8df019869 100644 --- a/packages/builder/src/components/common/BindableInput.svelte +++ b/packages/builder/src/components/common/BindableInput.svelte @@ -24,7 +24,7 @@
- +
Date: Wed, 24 Feb 2021 15:34:52 +0000 Subject: [PATCH 2/2] Formatting. --- .../PropertyControls/DatasourceSelect.svelte | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/DatasourceSelect.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/DatasourceSelect.svelte index bf0c30b184..0a62d34075 100644 --- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/DatasourceSelect.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/DatasourceSelect.svelte @@ -37,8 +37,10 @@ return [...acc, ...viewsArr] }, []) $: queries = $backendUiStore.queries - .filter(query => showAllQueries || (query.queryVerb === "read" || query.readable)) - .map(query => ({ + .filter( + query => showAllQueries || query.queryVerb === "read" || query.readable + ) + .map(query => ({ label: query.name, name: query.name, tableId: query._id,