Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update flex-shrink-0 and flex-shrink at presets/configs #1015

Closed
brocard opened this issue Nov 22, 2023 · 4 comments
Closed

Update flex-shrink-0 and flex-shrink at presets/configs #1015

brocard opened this issue Nov 22, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@brocard
Copy link

brocard commented Nov 22, 2023

Description

The actual version of tailwindcss update flex-shrink-0 and flex-shrink to shrink-0 and shrink

Additional context

No response

@brocard brocard added the enhancement New feature or request label Nov 22, 2023
Copy link
Member

Indeed, I've noticed the change on their documentation but the flex-shrink-0 class still works. I haven't found anything in their releases notes about this.

@maxsteinwand
Copy link
Contributor

They added them in Tailwind v3 as aliases:

Wherever possible we have preserved the old name as well so many of these changes are non-breaking, but you’re encouraged to update to the new class names.

See
Tailwind Upgrade Guide
Github PR for the change

@brocard
Copy link
Author

brocard commented Nov 24, 2023

That's correct work's as aliases, then the PR should be closed

Copy link
Member

I guess we'll keep those flex-shrink-0 to prevent breaking changes. It wouldn't change anything as they're aliases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants