When an element has a display value of inline-block and an overflow (or overflow-x) of hidden, its container gets a few px of extra height. Here’s an explanation of why… https://www.brunildo.org/test/inline-block.html. A fix, where applicable, is to add vertical-align: top to the element.
-
About
This is mainly information that I feel I need to record to aid my own memory - if it is useful to you, great! If you would like to share your comments, also great! I make no claims to be an authority on anything, or to be useful to anyone.
I might sometimes throw in some other topics, if I feel like ranting about something.
"More matter with less art"