Skip to content

Commit

Permalink
[create-next-app] remove "text-balance" custom class (#63742)
Browse files Browse the repository at this point in the history
### What?
Remove "text-balance" custom class from create-next-app tailwindCSS
templates.
### Why?
TailwindCSS has exact same class since v3.4.0.
https://tailwindcss.com/docs/text-wrap

Co-authored-by: Sam Ko <sam@vercel.com>
  • Loading branch information
ryota-murakami and samcx committed May 1, 2024
1 parent 673abe4 commit dbf2216
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 24 deletions.
6 changes: 0 additions & 6 deletions packages/create-next-app/templates/app-tw/js/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,3 @@ body {
)
rgb(var(--background-start-rgb));
}

@layer utilities {
.text-balance {
text-wrap: balance;
}
}
6 changes: 0 additions & 6 deletions packages/create-next-app/templates/app-tw/ts/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,3 @@ body {
)
rgb(var(--background-start-rgb));
}

@layer utilities {
.text-balance {
text-wrap: balance;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,3 @@ body {
)
rgb(var(--background-start-rgb));
}

@layer utilities {
.text-balance {
text-wrap: balance;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,3 @@ body {
)
rgb(var(--background-start-rgb));
}

@layer utilities {
.text-balance {
text-wrap: balance;
}
}

0 comments on commit dbf2216

Please sign in to comment.