Closed mbrgm closed 9 years ago
This is an example from the kitchen sink app in Chrome. You can see the top border of the after
element not properly lining up.
Thanks a lot for this. I had changed this a while back and noticed the bug but never got around to fixing it.
Due to the nature of the box model, the specified border on the
after
element does not line up with the rest of the ListItem's top border. I used the flex model'sjustifyContent
property to center theafter
content vertically and turned the remainingmargin
into apadding
property.