fix column alignment for first column in table
This commit is contained in:
parent
9fe02e7963
commit
9ac5f60338
|
@ -11,6 +11,7 @@
|
|||
(total, col) => (total += col.width),
|
||||
0
|
||||
)
|
||||
$: console.log($renderedColumns)
|
||||
$: end = $hiddenColumnsWidth + columnsWidth - 1 - $scroll.left
|
||||
$: left = Math.min($width - 40, end)
|
||||
|
||||
|
@ -32,7 +33,7 @@
|
|||
<Popover
|
||||
bind:open
|
||||
{anchor}
|
||||
align="right"
|
||||
align={$renderedColumns.length ? "right" : "left"}
|
||||
offset={0}
|
||||
popoverTarget={document.getElementById(`add-column-button`)}
|
||||
animate={false}
|
||||
|
|
Loading…
Reference in New Issue