From ef83fe50d81b10620dad55b31941ba0f679231e6 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Fri, 22 Jul 2022 12:10:53 +0100 Subject: [PATCH] Use discrete buttons with text for adding screens and components --- .../navigation/ComponentListPanel.svelte | 19 ++++++++++++------- .../_components/ScreenListPanel.svelte | 10 +++------- 2 files changed, 15 insertions(+), 14 deletions(-) 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 5b86d4da29..513048caf1 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 @@ -9,6 +9,7 @@ import { setContext } from "svelte" import DNDPositionIndicator from "./DNDPositionIndicator.svelte" import { DropPosition } from "./dndStore" + import { Button, Layout } from "@budibase/bbui" let scrollRef @@ -61,13 +62,10 @@ }) - $goto("../new")} - showExpandIcon - borderRight -> + +
+ +