From 805b836040f63b7020ec0e396f57cfa61f4d6c29 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 27 Jul 2022 11:16:43 +0100 Subject: [PATCH] Shrink square status light, shrink nav item text --- packages/bbui/src/StatusLight/StatusLight.svelte | 4 ++-- packages/builder/src/components/common/NavItem.svelte | 2 +- .../_components/navigation/ComponentListPanel.svelte | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/bbui/src/StatusLight/StatusLight.svelte b/packages/bbui/src/StatusLight/StatusLight.svelte index d30bf96b05..5b7257891f 100644 --- a/packages/bbui/src/StatusLight/StatusLight.svelte +++ b/packages/bbui/src/StatusLight/StatusLight.svelte @@ -68,8 +68,8 @@ background: var(--color) !important; } .square::before { - width: 16px; - height: 16px; + width: 14px; + height: 14px; border-radius: 4px; margin: 0; } diff --git a/packages/builder/src/components/common/NavItem.svelte b/packages/builder/src/components/common/NavItem.svelte index 0309458a1a..b319560ddd 100644 --- a/packages/builder/src/components/common/NavItem.svelte +++ b/packages/builder/src/components/common/NavItem.svelte @@ -186,7 +186,7 @@ .text { font-weight: 600; - font-size: 14px; + font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/_components/navigation/ComponentListPanel.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/_components/navigation/ComponentListPanel.svelte index d6d77a0d87..63a3888ecf 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/_components/navigation/ComponentListPanel.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/_components/navigation/ComponentListPanel.svelte @@ -24,7 +24,7 @@ let newOffsets = {} // Calculate left offset - const offsetX = bounds.left + bounds.width + scrollLeft - 39 + const offsetX = bounds.left + bounds.width + scrollLeft - 36 if (offsetX > sidebarWidth) { newOffsets.left = offsetX - sidebarWidth } else {