This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(icon): rem sizes, line-height for font icons
Closes #2597
- Loading branch information
860d1f6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about the
display:block
setting in&[md-font-icon]
?860d1f6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It actually wasn't necessary for either of the Plunkers related to that issue, so I left it out.
860d1f6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect. 👍
Now we can use whatever third party webfont library without adding CSS rules (just the size of the icons) :)
860d1f6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marcysutton adding line-height of 2.8rem is setting my icons to 28x28, shouldn't this be 2.4rem? Google material guidelines state system icons should be 24px
860d1f6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In fact, my icons are bigger too. :P