I'm working on an admin dashboard with tailwind css. I want to make the height of Nav and Content fit to the screen.
I know this will do the trick relative flex min-h-screen but by doing so I'm getting the scroll bar because of the height of App Bar.
How can I make the content height 100% without getting the scroll bar?
Minus App Bar height somehow ?
<>
<div className='bg-blue-700 px-8 flex items-center justify-between py-4 shadow-sm text-white'>
App Bar
</div>
<div className='relative flex'>
<nav className='bg-white shadow-sm p-6 space-y-6 w-64'>
Navbar
</nav>
<main className='bg-gray-100 flex-1 p-6'>
Content will go here
</main>
</div>
</>