From e03d49ce537de21f4820f0f4f20f950254ce4325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Thu, 22 Apr 2021 16:34:18 +0200 Subject: [PATCH] wip: fixes a couple of drawers --- packages/bbui/src/Drawer/Drawer.svelte | 15 ++++------ .../common/DrawerBindableInput.svelte | 30 ++++++++----------- .../PropertyControls/PropertyControl.svelte | 25 +++++++--------- 3 files changed, 27 insertions(+), 43 deletions(-) diff --git a/packages/bbui/src/Drawer/Drawer.svelte b/packages/bbui/src/Drawer/Drawer.svelte index a20e08895b..27fe9470fb 100644 --- a/packages/bbui/src/Drawer/Drawer.svelte +++ b/packages/bbui/src/Drawer/Drawer.svelte @@ -40,9 +40,9 @@ {title} -
+
- +
@@ -66,22 +66,17 @@ justify-content: space-between; align-items: center; border-bottom: var(--border-light); - padding: 0 var(--spectrum-alias-item-padding-s) ; + padding: var(--spectrum-alias-item-padding-s) 0; } header :global(*) + :global(*) { - margin: var(--spectrum-alias-grid-baseline); + margin: 0 var(--spectrum-alias-grid-baseline); } - .controls { - display: grid; - grid-auto-flow: column; - grid-gap: var(--spectrum-alias-item-padding-s); - align-items: center; - } .text { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; + margin-left: var(--spectrum-alias-item-padding-s); } diff --git a/packages/builder/src/components/common/DrawerBindableInput.svelte b/packages/builder/src/components/common/DrawerBindableInput.svelte index c04960ff60..881321664b 100644 --- a/packages/builder/src/components/common/DrawerBindableInput.svelte +++ b/packages/builder/src/components/common/DrawerBindableInput.svelte @@ -1,5 +1,5 @@