Using Flex Column Layout7:06
Let's set a display of flex on the parent. Now again, notice we lost some of the styling there. We'll fix that. But I'm going to set a flexDirection of not row, but column. There we go. So now, for example, if I had anything else, that of course would come below it, as you see there. All right, so we haven't changed the layout here. However, now on the child, I can remove height is 100% because it wasn't even working the way we thought it would, and I can instead say flex to fill the available space.
