Closed 0xced closed 5 years ago
With a max-height of 3em, Safari always displays scroll bars. By increasing the max-height to 5em and changing overflow:scroll to overflow:auto, the scroll bars disappear making the page much more pleasant to look at.
Left: max-height:3em;overflow:scroll Right: max-height:5em;overflow:auto
max-height:3em;overflow:scroll
max-height:5em;overflow:auto
With a max-height of 3em, Safari always displays scroll bars. By increasing the max-height to 5em and changing overflow:scroll to overflow:auto, the scroll bars disappear making the page much more pleasant to look at.
Left:
max-height:3em;overflow:scroll
Right:max-height:5em;overflow:auto