Commit ffb677e2 authored by afc163's avatar afc163

Fix pie cut

parent aef1e4a2
...@@ -55,7 +55,7 @@ class Pie extends Component { ...@@ -55,7 +55,7 @@ class Pie extends Component {
height = 0, height = 0,
hasLegend, hasLegend,
fit = true, fit = true,
margin, percent, color, margin = [12, 0, 12, 0], percent, color,
inner = 0.75, inner = 0.75,
animate = true, animate = true,
colors, colors,
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
position: relative; position: relative;
} }
&.hasLegend .chart { &.hasLegend .chart {
width: ~"calc(100% - 264px)"; width: ~"calc(100% - 252px)";
margin-left: 24px; margin-left: 12px;
} }
.legend { .legend {
position: absolute; position: absolute;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment