Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
fix(fab): Adjust fab line-height to center text (#5258)
Browse files Browse the repository at this point in the history
  • Loading branch information
EstebanG23 authored Nov 18, 2019
1 parent 3cbee6d commit 591a6ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/mdc-fab/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ $mdc-fab-icon-enter-duration_: 180ms;
height: $mdc-fab-extended-height;
// This allows the text within the extended fab to be centered for varying font sizes.
/* @alternate */
line-height: inherit;
line-height: normal;
}
}

Expand Down
2 changes: 1 addition & 1 deletion test/screenshot/golden.json
Original file line number Diff line number Diff line change
Expand Up @@ -1951,4 +1951,4 @@
"desktop_windows_ie@11": "https://storage.googleapis.com/mdc-web-screenshot-tests/advorak/2018/08/08/08_47_39_000/spec/mdc-typography/mixins/mixins.html.windows_ie_11.png"
}
}
}
}

0 comments on commit 591a6ad

Please sign in to comment.