From a871a3a44f4d5e833a4fb804e712f3a03a7af6b0 Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Thu, 16 Sep 2021 12:15:32 +0100 Subject: [PATCH] fix label not being rendered correctly --- packages/bbui/src/Drawer/Drawer.svelte | 8 ++++-- .../SetupPanel/AutomationBlockSetup.svelte | 26 ++++++++++++------- .../bindings/DrawerBindableInput.svelte | 3 ++- 3 files changed, 25 insertions(+), 12 deletions(-) diff --git a/packages/bbui/src/Drawer/Drawer.svelte b/packages/bbui/src/Drawer/Drawer.svelte index a619ee0f8b..67252f72b6 100644 --- a/packages/bbui/src/Drawer/Drawer.svelte +++ b/packages/bbui/src/Drawer/Drawer.svelte @@ -6,7 +6,7 @@ import Heading from "../Typography/Heading.svelte" export let title - + export let fillWidth let visible = false export function show() { @@ -34,7 +34,7 @@ {#if visible} -
+
{title} @@ -63,6 +63,10 @@ z-index: 2; } + .fillWidth { + width: calc(100% - 260px) !important; + } + header { display: flex; justify-content: space-between; diff --git a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte index c16260779e..3c77157acb 100644 --- a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte +++ b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte @@ -76,7 +76,7 @@
{#each schemaProperties as [key, value]}
- + {#if value.type === "string" && value.enum}