fix vote display
[cavote.git] / templates / vote.html
index a832684..7e36224 100644 (file)
@@ -42,8 +42,8 @@
      </g>
     {% for value in values %}
     <g transform="translate({{ 150 + (loop.index0 * 640 / loop.length) }},0)">
-      <rect width="{{ 640 / loop.length }}" height="20"></rect>
-      <rect class="{{ value.class }}" x="1" y ="1" width="{{ 640 / loop.length - 1}}" height="19"></rect>
+      <rect width="{{ 640 / loop.length + 1 }}" height="18"></rect>
+      <rect class="{{ value.class }}" x="1" y ="0" width="{{ 640 / loop.length - 1}}" height="18"></rect>
       <text class="choice-legend-item" text-anchor="start" x="{{ 640 / loop.length - 2 }}" y="9.5" dy=".35em"
        >{{ value.name }}</text>
      </g>