Skip to content

Commit

Permalink
feat: 修复倒计时文字不居中的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhenfei committed Sep 29, 2020
1 parent 4c3a439 commit 89643a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/pi-count-down/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ export default {
.pi-count-down {
display: inline-block;
.countdown-item {
display: inline-block;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 2rpx;
text-align: center;
white-space: nowrap;
Expand All @@ -195,7 +197,6 @@ export default {
min-width: 44rpx;
min-height: 44rpx;
font-size: 24rpx;
line-height: initial;
}
&.separator {
margin: 0 4rpx;
Expand Down

0 comments on commit 89643a3

Please sign in to comment.