diff --git a/packages/builder/src/pages/builder/app/[application]/_components/BuilderSidePanel.svelte b/packages/builder/src/pages/builder/app/[application]/_components/BuilderSidePanel.svelte index 3249ca2514..721055d78a 100644 --- a/packages/builder/src/pages/builder/app/[application]/_components/BuilderSidePanel.svelte +++ b/packages/builder/src/pages/builder/app/[application]/_components/BuilderSidePanel.svelte @@ -21,6 +21,7 @@ import { Constants, Utils } from "@budibase/frontend-core" import { emailValidator } from "helpers/validation" import { roles } from "stores/backend" + import { fly } from "svelte/transition" let query = null let loaded = false @@ -418,16 +419,14 @@
{ - store.update(state => { - state.builderSidePanel = false - return state - }) - } - : () => {}} + use:clickOutside={() => { + store.update(state => { + state.builderSidePanel = false + return state + }) + }} >
Users @@ -737,12 +736,11 @@ flex-direction: column; overflow-y: auto; overflow-x: hidden; - transition: transform 130ms ease-out; position: absolute; width: 400px; right: 0; - transform: translateX(100%); height: 100%; + box-shadow: 0 0 40px 10px rgba(0, 0, 0, 0.1); } .builder-side-panel-header, @@ -792,11 +790,6 @@ font-style: normal; } - #builder-side-panel-container.open { - transform: translateX(0); - box-shadow: 0 0 40px 10px rgba(0, 0, 0, 0.1); - } - .builder-side-panel-header { display: flex; flex-direction: row;