From 1edf3800536d853be5fa55be6464668eabdd86cb Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 20 Jan 2025 16:07:59 +0000 Subject: [PATCH] Update component panel to remove header and add component button --- .../_components/ComponentList/index.svelte | 51 ++----------------- 1 file changed, 3 insertions(+), 48 deletions(-) diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/ComponentList/index.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/ComponentList/index.svelte index eb5a57ec9c..d97d4e58be 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/ComponentList/index.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/ComponentList/index.svelte @@ -1,6 +1,5 @@ - -
-
- Components -
- -
-
- +
    openScreenContextMenu(e, false)} @@ -168,35 +145,13 @@ display: flex; flex-direction: column; flex: 1; - } - - .header { - height: 50px; - box-sizing: border-box; - padding: var(--spacing-l); - display: flex; - align-items: center; - border-bottom: 2px solid transparent; - transition: border-bottom 130ms ease-out; - } - .header.scrolling { - border-bottom: var(--border-light); + padding-top: var(--spacing-l); } .components :global(.nav-item) { padding-right: 8px !important; } - .addButton { - margin-left: auto; - color: var(--grey-7); - cursor: pointer; - } - - .addButton:hover { - color: var(--ink); - } - .list-panel { display: flex; flex-direction: column;