Skip to content

[v4] Custom breakpoints paddings are not respected #15450

Discussion options

You must be logged in to vote

Hey! We're sorting by the breakpoint value when generating these classes, the issue you're seeing is because you're adding a px value where as the default breakpoints are configured in rem instead. This means the values can't be sorted correctly anymore because of the unit mismatch.

I recommend setting the custom breakpoint to rem as well so it works as expected: https://play.tailwindcss.com/Zw7yHqbReM

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@pavelbelyaev98
Comment options

@valgeirb
Comment options

@valgeirb
Comment options

@abdullah-dev-mamun
Comment options

Answer selected by pavelbelyaev98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #15448 on December 19, 2024 12:48.