You can try specifying a min-height
for .Head
(to prevent flexbox from forcibly collapsing it), and set the flex-flow property of the parent .Wrap
element to column nowrap
:
.Wrap{
position:fixed;
top:10%;
left:10%;
display:flex;
flex-flow: column nowrap;
align-items:stretch;
background:#ddd;
max-height:50%;
max-width:50%;
padding:10px;
overflow:hidden;
}
.Head{
background:#e00;
height:50px;
min-height: 50px;
width:100%;
}