Petit changement espacement dans stats

This commit is contained in:
echarp 2014-10-19 16:47:30 +02:00
parent 0fe4fa8eb5
commit 604bbbb443
3 changed files with 8 additions and 3 deletions

View File

@ -15,3 +15,4 @@ $(document).ready ->
height: '3em' height: '3em'
barWidth: '100%' barWidth: '100%'
barColor: '#9CC5EE' barColor: '#9CC5EE'
barSpacing: 2

View File

@ -34,5 +34,9 @@
body.stats h3 body.stats h3
text-align: center text-align: center
.sparkline table.list.dates
padding: 0 th, td
padding: 0 1em
.sparkline
padding: 0

View File

@ -22,7 +22,7 @@
%tbody %tbody
- (1..12).each do |m| - (1..12).each do |m|
%tr %tr
%td.month= I18n.t('date.month_names')[m] %th.month= I18n.t('date.month_names')[m]
- @year_events.each do |year| - @year_events.each do |year|
%td.quantity %td.quantity
- line = @month_events.find { |line| line[0][0] == year[0] && line[0][1] == m } - line = @month_events.find { |line| line[0][0] == year[0] && line[0][1] == m }