From a2a4a2d21de22b89842032de21d2b0e70fee0e2d Mon Sep 17 00:00:00 2001
From: Joe <49767913+joebudi@users.noreply.github.com>
Date: Tue, 26 Jan 2021 22:42:31 +0000
Subject: [PATCH 1/2] Minor ui updates
Padding and spacing improved
---
packages/builder/package.json | 2 +-
.../PropertiesPanel/BindingPanel.svelte | 21 +++++++-------
.../EventsEditor/EventEditor.svelte | 28 ++++++++-----------
.../EventsEditor/EventEditorModal.svelte | 2 +-
packages/builder/yarn.lock | 8 +++---
5 files changed, 28 insertions(+), 33 deletions(-)
diff --git a/packages/builder/package.json b/packages/builder/package.json
index 41b98750e9..52fa846db3 100644
--- a/packages/builder/package.json
+++ b/packages/builder/package.json
@@ -63,7 +63,7 @@
}
},
"dependencies": {
- "@budibase/bbui": "^1.54.1",
+ "@budibase/bbui": "^1.55.2",
"@budibase/client": "^0.5.3",
"@budibase/colorpicker": "^1.0.1",
"@budibase/string-templates": "^0.5.3",
diff --git a/packages/builder/src/components/design/PropertiesPanel/BindingPanel.svelte b/packages/builder/src/components/design/PropertiesPanel/BindingPanel.svelte
index 612dc9caa5..7e91759764 100644
--- a/packages/builder/src/components/design/PropertiesPanel/BindingPanel.svelte
+++ b/packages/builder/src/components/design/PropertiesPanel/BindingPanel.svelte
@@ -26,10 +26,8 @@
-
Objects
-
{#if context}
-
Tables
+
Columns
{#each context as { readableBinding }}
- addToText(readableBinding)}>
@@ -53,8 +51,8 @@
+ placeholder="Add text, or click the objects on the left to add them to
+ the textbox." />
@@ -63,15 +61,14 @@
.container {
height: 100%;
display: grid;
- grid-template-columns: auto 1fr;
+ grid-template-columns: 260px 1fr;
}
.list {
- width: 150px;
- border-right: 1.5px solid var(--grey-4);
- padding: var(--spacing-s);
+ border-right: var(--border-light);
+ padding: var(--spacing-l);
}
.text {
- padding: var(--spacing-s);
+ padding: var(--spacing-xl);
font-family: var(--font-sans);
}
.text :global(p) {
@@ -89,10 +86,12 @@
font-family: var(--font-sans);
font-size: var(--font-size-xs);
color: var(--grey-7);
- padding: var(--spacing-s) 0;
+ padding: var(--spacing-m) 0;
margin: auto 0px;
align-items: center;
cursor: pointer;
+ border: var(--border-light);
+ border-width: 1px 0 1px 0;
}
li:hover {
diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/EventEditor.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/EventEditor.svelte
index f15b87d867..701e416c2f 100644
--- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/EventEditor.svelte
+++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/EventEditor.svelte
@@ -1,10 +1,10 @@