From 6d08cedc8692fe69d9aca43f2d573d06c0b5a5c4 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 22 Jun 2023 09:26:14 +0100 Subject: [PATCH] Adjust position of new row FAB when there is no sticky column to look better --- .../frontend-core/src/components/grid/layout/NewRow.svelte | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/frontend-core/src/components/grid/layout/NewRow.svelte b/packages/frontend-core/src/components/grid/layout/NewRow.svelte index 348c1a704a..b6b5925027 100644 --- a/packages/frontend-core/src/components/grid/layout/NewRow.svelte +++ b/packages/frontend-core/src/components/grid/layout/NewRow.svelte @@ -147,6 +147,7 @@ class="new-row-fab" on:click={() => dispatch("add-row-inline")} transition:fade|local={{ duration: 130 }} + class:offset={!$stickyColumn} > @@ -254,6 +255,9 @@ background: var(--cell-background-hover); cursor: pointer; } + .new-row-fab.offset { + margin-left: -6px; + } .container { position: absolute;