I have a containing div with a max height, and overflow-y: auto. The following behaviour occurs when the display is set to inline-block or
div
overflow-y: auto
inline-block