Skip to content
Snippets Groups Projects
Commit 14f5a059 authored by Alexa Valentová's avatar Alexa Valentová
Browse files

update secondary candidate list

parent d65165f9
No related branches found
No related tags found
1 merge request!29Feat/redesign
Pipeline #18663 passed
......@@ -18,7 +18,7 @@
<div
class="
flex font-bold justify-center items-center rounded-full
flex grow-1 shrink-0 font-bold justify-center items-center rounded-full
"
>
<img
......@@ -27,18 +27,31 @@
>
</div>
<div
class="
flex gap-2 flex-col
lg:gap-6 lg:flex-row
"
>
<h4
class="text-xl font-bold w-64"
>{{ candidate.name }}</h4>
{% if candidate.position %}
<p class="ml-6">
<p class="lg:ml-6">
{{ candidate.position }}
</p>
{% endif %}
{% if candidate.party_membership %}
<div class="ml-auto font-bold flex items-center gap-1">
<div
class="
font-bold flex items-center gap-1
lg:ml-auto
"
>
{% if candidate.party_membership == "Pirátská strana" %}
<img
class="w-8"
......@@ -49,6 +62,7 @@
{{ candidate.party_membership }}
</div>
{% endif %}
</div>
</a>
</li>
{% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment