Skip to content

Fix: misalignment at mr state container

What does this MR do and why?

The icon size was set to 24px in !94370 (merged), and the content text line height is still 16px, and because that the parent element applies gl-display-flex, the height of the content text section is therefore 24px when the line height and height is inconsistent texts would not be aligned in the middle.

/cc @prajnamas @orozot @qk44077907 @lxwan

Screenshots or screen recordings

Before After
CleanShot_2022-11-14_at_13.29.41_2x CleanShot_2022-11-14_at_13.28.21_2x

You may also refer to this screenshot and modify it on the page with devtools yourselves.

CleanShot_2022-11-14_at_13.46.58_2x

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports