Skip to content

Commit

Permalink
feat: mini button 没有定义line-height,导致文字不垂直居中 (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
hooliy authored Nov 7, 2024
1 parent 629a669 commit 1ccdcb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vantui/src/button/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
display: inline-block;
.theme(padding, '0 @padding-base');
.theme(height, '@button-mini-height');
.theme(line-height, '@button-mini-height');
.theme(font-size, '@button-mini-font-size');
.theme(min-width, '@button-mini-min-width');
.theme(border-radius, '@button-mini-border-radius');
Expand Down

0 comments on commit 1ccdcb1

Please sign in to comment.