Skip to content

Commit

Permalink
change class to style
Browse files Browse the repository at this point in the history
  • Loading branch information
RogueTea committed May 30, 2024
1 parent 7d29ede commit 9b8a129
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions src/app/components/table/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,6 @@
[pReorderableColumn] {
cursor: move;
}

.p-reorder-column-disabled {
cursor: default;
}

/* Loader */
.p-datatable .p-datatable-loading-overlay {
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4026,7 +4026,7 @@ export class ResizableColumn implements AfterViewInit, OnDestroy {
selector: '[pReorderableColumn]',
host: {
class: 'p-element',
'[class.p-reorder-column-disabled]': '!isEnabled()'
'[style.cursor]': 'isEnabled() ? "move" : "default"'
}
})
export class ReorderableColumn implements AfterViewInit, OnDestroy {
Expand Down

0 comments on commit 9b8a129

Please sign in to comment.