Browse Source
🐛 fix progress text align issue (#14024)
* 🐛 fix progress text align issue
close #13997
* ✅ Set thresholds for codecov build failures
pull/14032/head
偏右
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
8 additions and
6 deletions
-
.codecov.yml
-
components/progress/style/index.less
|
@ -2,5 +2,8 @@ codecov: |
|
|
branch: master |
|
|
branch: master |
|
|
|
|
|
|
|
|
coverage: |
|
|
coverage: |
|
|
precision: 1 |
|
|
status: |
|
|
round: down |
|
|
project: |
|
|
|
|
|
default: |
|
|
|
|
|
# Fail the status if coverage drops by >= 0.1% |
|
|
|
|
|
threshold: 0.1 |
|
|
|
@ -123,18 +123,17 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
&-circle &-text { |
|
|
&-circle &-text { |
|
|
display: block; |
|
|
|
|
|
position: absolute; |
|
|
position: absolute; |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
line-height: 1; |
|
|
line-height: 1; |
|
|
top: 50%; |
|
|
top: 50%; |
|
|
transform: translateY(-50%); |
|
|
left: 50%; |
|
|
left: 0; |
|
|
transform: translate(-50%, -50%); |
|
|
margin: 0; |
|
|
margin: 0; |
|
|
|
|
|
padding: 0; |
|
|
color: @progress-text-color; |
|
|
color: @progress-text-color; |
|
|
white-space: normal; |
|
|
white-space: normal; |
|
|
padding: 0 6px; |
|
|
|
|
|
|
|
|
|
|
|
.@{iconfont-css-prefix} { |
|
|
.@{iconfont-css-prefix} { |
|
|
font-size: 14 / 12em; |
|
|
font-size: 14 / 12em; |
|
|