Skip to content

Commit

Permalink
fix inner react-ui/ant-mobile/issues/494
Browse files Browse the repository at this point in the history
  • Loading branch information
warmhug committed May 18, 2017
1 parent 6b026e9 commit 4c80510
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions components/style/themes/default.less
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@
@switch-fill-android: @brand-primary;

// tag
@tag-height: 48px;
@tag-height-sm: 28px;
@tag-height: 50px;
@tag-height-sm: 30px;
@tag-color: @brand-primary;

// table
Expand Down
4 changes: 2 additions & 2 deletions components/style/themes/default.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ export default {
switch_fill: '#4dd865',

// tag
tag_height: 24,
tag_small_height: 14,
tag_height: 25,
tag_small_height: 15,

// table
table_title_height: 30,
Expand Down
5 changes: 3 additions & 2 deletions components/tag/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
@tagPrefixCls: am-tag;

.@{tagPrefixCls} {
border-radius: @radius-sm;
display: inline-block;
position: relative;
font-size: @font-size-base;
padding: 0 @h-spacing-lg;
text-align: center;
padding: 0 @h-spacing-lg;
height: @tag-height;
line-height: @tag-height;
border-radius: @radius-sm;
box-sizing: border-box;

&&-small {
height: @tag-height-sm;
Expand Down

0 comments on commit 4c80510

Please sign in to comment.