From 9e26508bc2ca7055d467fba9db4b46a138299131 Mon Sep 17 00:00:00 2001 From: Joe <49767913+joebudi@users.noreply.github.com> Date: Mon, 1 Jun 2020 21:18:25 +0100 Subject: [PATCH] Padding and margin input fields fix --- .../builder/src/components/common/Input.svelte | 1 - .../ComponentsHierarchyChildren.svelte | 16 +++++++++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/packages/builder/src/components/common/Input.svelte b/packages/builder/src/components/common/Input.svelte index a136b4e2f3..b80e24e000 100644 --- a/packages/builder/src/components/common/Input.svelte +++ b/packages/builder/src/components/common/Input.svelte @@ -16,7 +16,6 @@ line-height: 1.3; padding: 12px; width: 164px; - float: right; max-width: 100%; box-sizing: border-box; margin: 0; diff --git a/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte b/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte index 344e02d127..dfa6f67faa 100644 --- a/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte +++ b/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte @@ -40,7 +40,7 @@ class="budibase__nav-item item" class:selected={currentComponent === component} style="padding-left: {level * 20 + 53}px"> -
{get_capitalised_name(component._component)}
+
@@ -72,8 +72,6 @@ border-radius: 3px; height: 35px; align-items: center; - font-weight: 400; - font-size: 13px; } .actions { @@ -95,4 +93,16 @@ .item:hover .actions { display: block; } + + .nav-item { + display: flex; + align-items: center; + font-size: 14px; + color: var(--ink); + } + + .icon { + color: var(--ink-light); + margin-right: 8px; + }