From b5143fb1a6a7354de7de4aa991760c40eb26e311 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Wed, 29 Nov 2017 01:19:27 +0100 Subject: [PATCH] Fixed statistics for Firefox --- pages/statistics/statistics.pixy | 4 ++-- pages/statistics/statistics.scarlet | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/statistics/statistics.pixy b/pages/statistics/statistics.pixy index e4697f06..bc5d8c17 100644 --- a/pages/statistics/statistics.pixy +++ b/pages/statistics/statistics.pixy @@ -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) \ No newline at end of file + path(d=utils.SVGSlicePath(slice.From, slice.To), fill=slice.Color) \ No newline at end of file diff --git a/pages/statistics/statistics.scarlet b/pages/statistics/statistics.scarlet index 1e6a76da..60ed55c4 100644 --- a/pages/statistics/statistics.scarlet +++ b/pages/statistics/statistics.scarlet @@ -13,5 +13,6 @@ .slice color black default-transition + :hover transform scale(1.05) \ No newline at end of file