atom / one-light-ui

Atom One light UI theme
MIT License
73 stars 62 forks source link

List group: maintain consistent size regardless of active icon presence #73

Closed matthewwithanm closed 8 years ago

matthewwithanm commented 8 years ago

Because the margin is defined in terms of em, we need to make sure that the font-size is the same regardless of whether the icon is being displayed. Otherwise, the calculated margin will change.

Before:

before

After:

after