mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(table striped): isStriped prop fix for multiple computed values in td (#2509)
* fix(table striped): multiple computed values in `td` Fixed `Table` rendering the contents of the cell beneath the stripe for the multiple computed values * fix(table striped): multiple computed values in `td` * fix(table striped): changeset fix * fix(table striped): changeset description enhancement Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: Alpha <116849110+alpha-xek@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
cda881799c
commit
5ea479f6c4
5
.changeset/empty-eels-compare.md
Normal file
5
.changeset/empty-eels-compare.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@nextui-org/table": patch
|
||||
---
|
||||
|
||||
Fixed an issue where the `Table` component incorrectly rendered cell contents beneath the stripe when multiple computed values were provided in a `td` (table cell) element.
|
||||
@ -185,6 +185,7 @@ const table = tv({
|
||||
td: [
|
||||
"group-data-[odd=true]:before:bg-default-100",
|
||||
"group-data-[odd=true]:before:opacity-100",
|
||||
"group-data-[odd=true]:before:-z-10",
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user