Basically what I want to make is two divs that only affects height on one side.
If contents of div B expands, div A expands and matches height of div B,
but if contents of div A expands, div B doesn't expand and div A makes scroll bar instead.
1 was easy by using display flex, but I couldn't find how to fix height of div A base on height of div B while div B is expandable.
Is there any way I can solve this by pure css?