Adjust position of new row FAB when there is no sticky column to look better
This commit is contained in:
parent
194a135183
commit
6d08cedc86
|
@ -147,6 +147,7 @@
|
||||||
class="new-row-fab"
|
class="new-row-fab"
|
||||||
on:click={() => dispatch("add-row-inline")}
|
on:click={() => dispatch("add-row-inline")}
|
||||||
transition:fade|local={{ duration: 130 }}
|
transition:fade|local={{ duration: 130 }}
|
||||||
|
class:offset={!$stickyColumn}
|
||||||
>
|
>
|
||||||
<Icon name="Add" size="S" />
|
<Icon name="Add" size="S" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -254,6 +255,9 @@
|
||||||
background: var(--cell-background-hover);
|
background: var(--cell-background-hover);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
.new-row-fab.offset {
|
||||||
|
margin-left: -6px;
|
||||||
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Reference in New Issue