Skip to content

Commit

Permalink
fix(aws-amplify-react): Fix Federated icons when using React Bo… (#5073)
Browse files Browse the repository at this point in the history
* Explicitly set box-sizing, as CSS resets override to border-box

* Explicitly set line-height, as CSS resets override line-height
  • Loading branch information
ericclemmons authored Mar 16, 2020
1 parent fbbe244 commit 49f8bfe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/amplify-ui/src/Button.css
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@

.signInButtonIcon {
position: absolute;
left: 0;
left: 0;
box-sizing: content-box;
}

.signInButtonContent {
Expand All @@ -126,4 +127,5 @@
overflow: hidden;
text-overflow: ellipsis;
text-align: center;
}
line-height: initial;
}

0 comments on commit 49f8bfe

Please sign in to comment.