Skip to content

Commit

Permalink
fix(disabled table rows): fixed cursor for disabled rows
Browse files Browse the repository at this point in the history
Fixed cursor for disabled rows in Table rows .
  • Loading branch information
alphaxek committed Mar 10, 2024
1 parent 5a8768a commit 772a93b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/mighty-hornets-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/table": major
---

Fixed normal cursor to cursor-not-allowed for disabled rows in Table
1 change: 1 addition & 0 deletions packages/core/theme/src/components/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ const table = tv({
"data-[selected=true]:before:opacity-100",
// disabled
"group-data-[disabled=true]:text-foreground-300",
"group-data-[disabled=true]:cursor-not-allowed",
],
tfoot: "",
sortIcon: [
Expand Down

0 comments on commit 772a93b

Please sign in to comment.