Skip to content

Commit

Permalink
fix(addon-table): eyes not draggable (#6948)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Mar 5, 2024
1 parent 97b2bea commit ac9ca4d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
6 changes: 5 additions & 1 deletion projects/addon-table/components/reorder/reorder.style.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@
}

.t-wrapper {
cursor: ns-resize;
grid-auto-rows: 2rem;
}

.t-draggable {
cursor: ns-resize;
flex: 1 1 auto;
}

.t-item {
.transition(background);
display: flex;
Expand Down
16 changes: 10 additions & 6 deletions projects/addon-table/components/reorder/reorder.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@
>
<tui-tile
*ngFor="let item of unsortedItems; let index = index"
tuiTileHandle
[style.order]="order.get(index)"
>
<div class="t-item">
<tui-svg
class="t-icon"
[src]="options.icons.drag"
></tui-svg>
{{ item }}
<div
tuiTileHandle
class="t-draggable"
>
<tui-svg
class="t-icon"
[src]="options.icons.drag"
></tui-svg>
{{ item }}
</div>
<button
appearance="icon"
size="xs"
Expand Down

0 comments on commit ac9ca4d

Please sign in to comment.