Fixed statistics for Firefox

This commit is contained in:
Eduard Urbach 2017-11-29 01:19:27 +01:00
parent 8319986a59
commit b5143fb1a6
2 changed files with 3 additions and 2 deletions

View File

@ -25,6 +25,6 @@ component StatisticsHeader
component PieChart(slices []*arn.PieChartSlice)
svg.pie-chart(viewBox="-1.1 -1.1 2.2 2.2")
each slice in slices
g
g.slice
title= slice.Title
path.slice(d=utils.SVGSlicePath(slice.From, slice.To), fill=slice.Color)
path(d=utils.SVGSlicePath(slice.From, slice.To), fill=slice.Color)

View File

@ -13,5 +13,6 @@
.slice
color black
default-transition
:hover
transform scale(1.05)