height: calc(100vh - _px) on the root container and display: flex; flex-direction: column; height: 100% for the columns. The panel size is completely automatic thanks to flexbox.calc(___vh - ___px) in there, too. height : 100% and arbitrary hardcoded values for height, min-height and max-height.