Skip to content

web: Fix button layout

Administrator requested to merge jdb/fix-insight-card-menu-button-padding into main

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
image image

Fixes #21518

Merge request reports

Loading