Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Commit

Permalink
fix(button): prevent button inheriting parent's line-height
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimi-Gao committed May 15, 2020
1 parent dc9d7d6 commit 9b48c71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Button/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
.ui-mixin-unselectable();
cursor: pointer;
max-width: 100%;
line-height: initial; // prevent inherit parent's line-height
margin-right: @ui-unit-half;
align-items: center;
position: relative;
Expand Down

0 comments on commit 9b48c71

Please sign in to comment.