summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2022-11-20 11:10:34 +0200
committerYuval Adam <_@yuv.al>2022-11-20 11:10:34 +0200
commit806fd50a2c0a591f6bb1749d5e6db657dde4e47c (patch)
tree87e59283ff897abd433ad231fe2e9300ad013073
parent8fb15ed86d6822c64a5a0590d96bf50be9c7873f (diff)
Shorten candidates list
-rw-r--r--templates/index.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/templates/index.html b/templates/index.html
index 762e5a6..0a300f4 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -38,11 +38,10 @@
</ul>
<h2 class="pt4">Candidates<span class="infolink"></span></h2>
- <ul class="list pl0">
+ <ul class="pl0 flex flex-wrap justify-between">
{% for name in candidates %}
- <li class="mb3">
- <div class="f4">{{ name|render_link("link dim blue")|safe }}</div>
- <div class="light-silver serif mt1">{{ name.title }}</div>
+ <li class="mb3 dib pr3-ns pr1">
+ <span class="f4-ns f5">{{ name|render_link("link dim blue")|safe }}</span>
</li>
{% endfor %}
</ul>
@@ -54,4 +53,4 @@
</footer>
</body>
-</html>
+</html> \ No newline at end of file