Element not inheriting parent element's height
I have the following code in App.js:
And the following
Theoretically speaking, since main has
Why is the
And the following
Main component:Theoretically speaking, since main has
height: 100%, it should take up its parent's height (the parent with flex-grow), but in my case it doesn't. See the linked screenshot (I changed the colors to make it more visible; the purple and purple border is the parent div; the light red is the Main component's elements).Why is the
Main component not inheriting the parent component's height? My theory is that perhaps it has something to do with Routes interfering, but I'm at a loss.
