Skip to content

Commit

Permalink
🐛 fix progress text align issue (ant-design#14024)
Browse files Browse the repository at this point in the history
* 🐛 fix progress text align issue

close ant-design#13997

* ✅ Set thresholds for codecov build failures
  • Loading branch information
afc163 authored Jan 1, 2019
1 parent 75bfd13 commit bb77436
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 5 additions & 2 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ codecov:
branch: master

coverage:
precision: 1
round: down
status:
project:
default:
# Fail the status if coverage drops by >= 0.1%
threshold: 0.1
7 changes: 3 additions & 4 deletions components/progress/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,17 @@
}

&-circle &-text {
display: block;
position: absolute;
width: 100%;
text-align: center;
line-height: 1;
top: 50%;
transform: translateY(-50%);
left: 0;
left: 50%;
transform: translate(-50%, -50%);
margin: 0;
padding: 0;
color: @progress-text-color;
white-space: normal;
padding: 0 6px;

.@{iconfont-css-prefix} {
font-size: 14 / 12em;
Expand Down

0 comments on commit bb77436

Please sign in to comment.