The innermost child div has a height of 0 even though its parent does not have a height of 0.
However, if I change the css property min-height to simply height in the topmost div then the innermost div takes up the whole screen (as expected)
Why does height and min-height behave differently in the topmost div?
<body>
<div style="
display: flex;
flex-direction: column;
min-height: 100vh;">
<div style="flex: 1">
<div style="height: 100%;"></div>
</div>
</div>
</body>