Adjust position of new row FAB when there is no sticky column to look better

This commit is contained in:
Andrew Kingston 2023-06-22 09:26:14 +01:00
parent 194a135183
commit 6d08cedc86
1 changed files with 4 additions and 0 deletions

View File

@ -147,6 +147,7 @@
class="new-row-fab"
on:click={() => dispatch("add-row-inline")}
transition:fade|local={{ duration: 130 }}
class:offset={!$stickyColumn}
>
<Icon name="Add" size="S" />
</div>
@ -254,6 +255,9 @@
background: var(--cell-background-hover);
cursor: pointer;
}
.new-row-fab.offset {
margin-left: -6px;
}
.container {
position: absolute;