From f68fe55d471c325e5f68ae748bf6b189955bd33a Mon Sep 17 00:00:00 2001 From: echarp Date: Thu, 23 Oct 2014 10:59:14 +0200 Subject: [PATCH] Meilleur affichage table des stats --- app/assets/javascripts/regions.js.coffee | 2 +- app/assets/stylesheets/region.css.sass | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/regions.js.coffee b/app/assets/javascripts/regions.js.coffee index 0696d996..7ddf78ac 100644 --- a/app/assets/javascripts/regions.js.coffee +++ b/app/assets/javascripts/regions.js.coffee @@ -13,6 +13,6 @@ $(document).ready -> $('tfoot .sparkline').sparkline vals, type: 'bar' height: '3em' - barWidth: '100%' + barWidth: '80em' barColor: '#9CC5EE' barSpacing: 2 diff --git a/app/assets/stylesheets/region.css.sass b/app/assets/stylesheets/region.css.sass index f4bcf34b..9524f1bb 100644 --- a/app/assets/stylesheets/region.css.sass +++ b/app/assets/stylesheets/region.css.sass @@ -36,7 +36,7 @@ body.stats h3 table.list.dates th, td - padding: 0 1em + padding: 0 0.6em .sparkline padding: 0