Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

font-icon has a offset inside icon-button #3149

Closed
cebor opened this issue Jun 6, 2015 · 4 comments
Closed

font-icon has a offset inside icon-button #3149

cebor opened this issue Jun 6, 2015 · 4 comments

Comments

@cebor
Copy link
Contributor

cebor commented Jun 6, 2015

Im using v0.9.8-rc1:

The new font icons have minimal offset to the bottom when being used inside a icon-button!

SVGs are fine.

<md-button class="md-icon-button" aria-label="Face">
  <md-icon>face</md-icon>
</md-button>
@tianvan
Copy link

tianvan commented Jun 6, 2015

+1 i have the same problem

@jlmagee
Copy link

jlmagee commented Jun 7, 2015

There is certainly some mystery with the alignment. This plnkr has an example of a pretty well aligned icon but it falls apart when an href is included (changes button element to anchor element).

http://plnkr.co/edit/mHC8srfdVs3OoSOeolX8

@cebor
Copy link
Contributor Author

cebor commented Jun 8, 2015

same issue on v0.9.7 with svg icons

@jlmagee
Copy link

jlmagee commented Jun 9, 2015

Appears to be fixed in 0.10-rc1

button: fixes style inconsistencies between md-buttons using a and button under th (cc07e63, closes #2440)

@cebor cebor closed this as completed Jun 12, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants