Update header cell hover cursor
This commit is contained in:
parent
726945ea61
commit
9594aae29d
|
@ -101,6 +101,7 @@
|
||||||
style="flex: 0 0 {column.width}px;"
|
style="flex: 0 0 {column.width}px;"
|
||||||
bind:this={anchor}
|
bind:this={anchor}
|
||||||
class:disabled={$isReordering || $isResizing}
|
class:disabled={$isReordering || $isResizing}
|
||||||
|
class:sticky={idx === "sticky"}
|
||||||
>
|
>
|
||||||
<GridCell
|
<GridCell
|
||||||
on:mousedown={onMouseDown}
|
on:mousedown={onMouseDown}
|
||||||
|
@ -194,6 +195,10 @@
|
||||||
.header-cell {
|
.header-cell {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
.header-cell:not(.sticky):hover,
|
||||||
|
.header-cell:not(.sticky) :global(.cell:hover) {
|
||||||
|
cursor: grab;
|
||||||
|
}
|
||||||
.header-cell.disabled {
|
.header-cell.disabled {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue