I'm trying to get a flexbox with a navigation header and a scrollable content area to work correctly. The area I want to be able to do this is part of a larger page that includes other elements, so I'm interested in wrapping the flex area in a parent tag so only these two elements are affected.
I'm so close! Here's the fiddle of what I've done so far: http://jsfiddle.net/AurumPotabile/pv9abdax/
The demo has exactly the functionality I'm looking for, but the structure is off because right now it seems to require the html, body
style. As soon as I uncomment the opening and closing flexArea
tags in the HTML and change the style reference accordingly I lose the percentage sizing on dbList
that forces it to expand to the window's height.
How do I wrap the flexible divs so dbList
retains the sizing I'm looking for?