fix: vertical alignment of FAB icons

This commit is contained in:
Federico Zivolo 2017-09-05 14:13:14 +02:00 committed by Ciro Mattia Gonano
parent 7a35f9c271
commit 1e3a0aea09

View File

@ -80,13 +80,14 @@
&.bmd-btn-icon { &.bmd-btn-icon {
overflow: hidden; overflow: hidden;
font-size: $bmd-btn-fab-font-size; font-size: $bmd-btn-fab-font-size;
line-height: normal; line-height: 0;
.btn-group-lg &, .btn-group-lg &,
.btn-group-sm &, .btn-group-sm &,
& { & {
padding: 0; // need specificity padding: 0; // need specificity
border-radius: 50%; border-radius: 50%;
line-height: 0;
} }
.material-icons { .material-icons {