Atom-Learning/components

ValidationError: Icon and spacing from text shrink as text wraps to multiple lines

shaneakins opened this issue · 1 comments

Component Name (*)

ValidationError

Expected Behaviour (*)

Regardless of the number of lines of text:

  • the icon should remain the same size
  • the icon should remain aligned to the top of the text block
  • the spacing from the text block should not change

Actual Behaviour (*)

When text wraps to more than one line, the icon and spacing shrink, and the icon vertically aligns with the middle of the text block

Screen Shot 2021-07-28 at 13 00 20

Steps to reproduce (*)

Use enough text to wrap to multiple lines

Other information (*)

Google Chrome - version 92.0.4515.107 (Official Build) (x86_64)
macOS Big Sur - version 11.4 (20F71)

Fixed with #b25e400c0b381b6bccbdca9b0a23fadeb5a59272