Trying to set the height of the div to h-2, with a class that includes height animation on medium devices.
The issue is that even though h-2 should be used on mobile, tailwindcss still uses h-20 instead.
Any thoughts on why this may be happening?
Here is the specific div causing the problem:
<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>