I've been struggling to make my content area (height:100%
) scrollable, but have had no success. Despite trying various solutions, nothing seems to work. I'm using devextreme from DevExpress, but it shouldn't affect the CSS.
I've set up an example of the issue on a fiddle: https://jsfiddle.net/phoniex/eop415ju/2/
The aim is to have a fixed green header and grey sidebar, while only the white content area should be scrollable. Unfortunately, the white content refuses to scroll. The only way I've managed to get it to scroll is by changing:
#layout_main_content {
display: inline-block;
height:400px;
width:100%;
overflow-y: scroll;
}
However, this compromises the height = 100%
requirement.