Replies: 1 comment 3 replies
-
Hey @neel1998! That is supported by tailwind-merge by default. tailwind-merge won't remove classes that are refining preceding classes. import { twMerge } from 'tailwind-merge'
twMerge('p-0 px-1') // → 'p-0 px-1' |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way that when I try to merge
p-0 px-1
the applied styles are,Beta Was this translation helpful? Give feedback.
All reactions