Despite using the tailwind class min-h-screen
, the height of the element remains unchanged and is not even displayed in the dev tools. However, when I directly set the height using the style property like style="height: 100vh;"
, it effectively alters the height of the element.
<div class="bg-white flex-1 p-6 flex flex-col w-3/4 xl:w-full
z-10 min-h-screen" style="box-shadow: 4px 0 6px -4px rgba(0, 0, 0, 0.3);">
content
</div>
The height is not specified anywhere else except there.
Although I tried editing the config file with minHeight: {'m100v': '100vh'}
, I believe the standard method should suffice.