I am trying to get the height of the div to h-2 and on medium is set a class with height animation.
The problem is that tailwindcss still uses the h-20 on mobile while h-2 should be used.
any idea why ?
here is the div in question :
<div className={`h-2 md:flex w-full text-white fixed bg-white mt-1 ${scrolling ? 'md:animationNav h-16' : 'md:animationBasisNav h-20'} dark:bg-gray-400`}></div>
