Fixes #11357: Vertically center sm and xs buttons in the navbar