web: Fix button layout
Created by: unclejustin
Bootstrap adds a line-height
to buttons that is greater than 1. When rendering an SVG it is aligning to the bottom such that a line-height
greater than 1 will appear to have padding on top.
Setting this to flex "resets" the "line box" that the browser is using.
More info here: https://stackoverflow.com/a/34703809
Before | After |
---|---|
Fixes #21518 (closed)