Skip to content

Commit

Permalink
fix(core): incorrect tailwind classnames (#3018)
Browse files Browse the repository at this point in the history
  • Loading branch information
wingkwong authored May 19, 2024
1 parent ca8554c commit 1109bae
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changeset/giant-avocados-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@nextui-org/system-rsc": patch
"@nextui-org/theme": patch
---

fix incorrect tailwind classnames
2 changes: 1 addition & 1 deletion packages/core/system-rsc/test-utils/slots-component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const card = tv({
"flex-col",
"relative",
"overflow-hidden",
"height-auto",
"h-auto",
"outline-none",
"text-foreground",
"box-border",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/theme/src/components/avatar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ const avatar = tv({
*/
const avatarGroup = tv({
slots: {
base: "flex items-center justify-center h-auto w-max-content",
base: "flex items-center justify-center h-auto w-max",
count: "hover:-translate-x-0",
},
variants: {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/theme/src/components/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const card = tv({
"flex-col",
"relative",
"overflow-hidden",
"height-auto",
"h-auto",
"outline-none",
"text-foreground",
"box-border",
Expand Down

0 comments on commit 1109bae

Please sign in to comment.