Skip to content

Commit

Permalink
update:修改垂直居中显示方式,在支付宝小程序不垂直居中问题
Browse files Browse the repository at this point in the history
  • Loading branch information
dcloudhdx committed Apr 10, 2019
1 parent 75c01ba commit 55af273
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/uni-number-box/uni-number-box.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@
height: 100%;
line-height: $numbox-height;
text-align: center;
display: inline-flex;
align-items: center;
justify-content: center;
color: $uni-text-color;
position: relative;
}
Expand Down
3 changes: 2 additions & 1 deletion packages/uni-tag/uni-tag.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
height: 60upx;
line-height: calc(60upx - 2px);
font-size: $uni-font-size-base;
display: inline-block;
display: inline-flex;
align-items: center;
color: $uni-text-color;
border-radius: $uni-border-radius-base;
background-color: $uni-bg-color-grey;
Expand Down

0 comments on commit 55af273

Please sign in to comment.