feature(md-icon-button): set fixed line height for wrapped content (#1469)

`<md-icon></md-icon>` should be centered inside `<button md-icon-button></button>` when it's size is reduced in additional fix it for md-fab

Closes #1426
This commit is contained in:
andrewmnlv
2016-11-02 00:07:17 +03:00
committed by Hans
parent b14bb72f8e
commit 8220452f77
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -112,5 +112,6 @@ $md-mini-fab-padding: 8px !default;
i, md-icon {
padding: $padding 0;
line-height: $md-icon-button-line-height;
}
}
+1
View File
@@ -43,6 +43,7 @@
border-radius: $md-icon-button-border-radius;
.md-button-wrapper > * {
line-height: $md-icon-button-line-height;
vertical-align: middle;
}
}