NO JS, Only CSS, flexbox allowed
JsFiddle : https://jsfiddle.net/ex9fmqxv/
.mdl-layout
.mdl-layout__inner-container
.mdl-layout__header
.mdl-layout__drawer
.mdl-grid
.mdl-cell
ul (list-msg adaptive height)
div (chat box fixed to bottom)
.mdl-grid (user list)
I am trying to do a test of a responsive website in 100% height/width of the screen using for GMD react.
I would like every time we resize the window, it can recalculate the height of the content and adapt to this one like Slack.com.
Using jQuery I know how to calculate height to put all this well but without using anyone have any idea?
In the picture you can see what I want that calculation automatically.
If you have another solution for the chat bar is still footer and the central content is scrollable I'm interested.