3 ms·
> The main element has height: 100%, but the element doesn't grow at all! > This doesn't work because in Flow layout... the width of an element is calculated b
by lelandfe 5y ago
> The main element has height: 100%, but the element doesn't grow at all!
> This doesn't work because in Flow layout... the width of an element is calculated based on its parent, but the height of an element is calculated based on its children.
Well, more specifically, `height: 100%` isn't expanding as it's already the maximum height of its parent, right? All he's done is increase the parent height.