From a29eb5ee88e3341c13ac6550d96985573fa884cb Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Wed, 17 Sep 2014 01:28:23 +0200 Subject: [PATCH] fix vote display --- static/css/cavote.css | 5 +++++ templates/vote.html | 4 ++-- templates/votes.html | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/static/css/cavote.css b/static/css/cavote.css index 8fc25a2..c636730 100644 --- a/static/css/cavote.css +++ b/static/css/cavote.css @@ -127,12 +127,17 @@ .span3 { width:24em; } +.span3.description { + height:10em; + overflow:auto; + } .span8 { width:625px; } .span8 svg { margin:0; padding:0; + overflow:visible; } .results rect { diff --git a/templates/vote.html b/templates/vote.html index a832684..7e36224 100644 --- a/templates/vote.html +++ b/templates/vote.html @@ -42,8 +42,8 @@ {% for value in values %} - - + + {{ value.name }} diff --git a/templates/votes.html b/templates/votes.html index 7b01e67..5f71561 100644 --- a/templates/votes.html +++ b/templates/votes.html @@ -22,7 +22,7 @@ Liste des votes

Groupe : {{ vote.groupname }}

Categorie : {{ vote.category }}

-
+
{% if vote.description %}

Description

-- 2.20.1