提交 4cfcf29a 编写于 作者: A afc163

update progress size

上级 78748bb8
......@@ -69,9 +69,9 @@ var Line = React.createClass({
var Circle = React.createClass({
getDefaultProps: function () {
return {
width: 126,
width: 132,
percent: 0,
strokeWidth: 4,
strokeWidth: 6,
status: 'normal' // exception
};
},
......@@ -91,7 +91,7 @@ var Circle = React.createClass({
'height': this.props.width
};
var wrapStyle = {
'font-size': this.props.width * 0.2
'font-size': this.props.width * 0.16 + 6
};
var textStyle = {
'color': statusColorMap[this.props.status]
......
......@@ -39,7 +39,9 @@
width: 100%;
text-align: center;
line-height: 1;
top: 38%;
font-weight: bold;
top: 50%;
transform: translateY(-50%);
left: 0;
.anticon {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册