-
-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Labels
context-v3Related to tailwind-merge v3Related to tailwind-merge v3
Description
Describe the bug
Tailwind merge remove the leading classes if it is applied in the middle of the class. It is only working if I apply it on the end.
To Reproduce
Not working
className='text-[1.5rem]! leading-[1.75rem]! md:text-2xl lg:text-[1.625rem] xl:leading-[2.188rem]! xl:text-3xl! max-w-3xl! text-primary-headingDark80!'
Working
className='text-[1.5rem]! leading-[1.75rem]! md:text-2xl lg:text-[1.625rem] xl:text-3xl! max-w-3xl! text-primary-headingDark80! xl:leading-[2.188rem]!'
Expected behavior
Leading class should be applied but it keeps getting removed
Environment
Tailwindcss v4.1.4
tailwind merge v3.2.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
context-v3Related to tailwind-merge v3Related to tailwind-merge v3