Im using Tabs component.
I need Tab content to be 100% height of parent container and its content should be with scroll (so my tabs selection will not scroll but content will be scrolling inside of each tab).
when I set it 100% height it doesn’t work.
I’m not sure this is the best method, but I wasted a lot of time previously trying to just get an element to take up the remaining available vertical space.
At the moment I bind the height of the contents to a formula and set overflow to Auto
Example:
"calc(100vh - (115px + 20px))"
For me I use this as 100vh minus (height of content above + footer height) so if i add content above or below I can change it easily.
For your context you could - add the height of; page header + tab header + padding, and subtract from 100vh