Skip to content

Commit

Permalink
fix(vote): change styles to list of candidatures
Browse files Browse the repository at this point in the history
  • Loading branch information
igr-santos committed Sep 2, 2024
1 parent ef68013 commit 89eac98
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ legend.form-label {
margin-bottom: 5px;
}

.card-body {
height: 175px;
}

.card-img-top {
height: 235px;
object-fit: cover;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<main class="container mx-auto pb-4">
<section class="pt-5 pb-3" style="max-width:570px;">
<h2 class="text-uppercase fw-bold">Conheça candidaturas da sua cidade</h2>
<p>Use os filtros para descobrir candidatos comprometidos com políticas climáticas!</span>
<p>Use os filtros para descobrir candidaturas comprometidas com políticas climáticas!</span>
</section>
<div class="grid">
<!-- Navbar -->
Expand Down Expand Up @@ -45,9 +45,9 @@ <h6 class="text-uppercase fw-bold"><i class="ds-sidebar-bars"></i> Filtrar resul
<a class="card" href="{% url 'candidate_profile' candidature.slug %}">
<img src="{{ candidature.photo.url }}" class="card-img-top" alt="Foto de {{ candidature.legal_name }}">
<div class="card-body px-2 py-1">
<p class="state-city mb-1 text-black-50">{{ candidature.get_state_display }} - {{ candidature.get_city_display }}</p>
<p class="state-city mb-1 text-black-50">{{ candidature.get_city_display }} - {{ candidature.get_state_display }}</p>
<div class="card-title">
<h5 class="fw-bold">{{ candidature.ballot_name }}</h5>
<h5 class="fw-bold">{{ candidature.ballot_name|title }}</h5>
</div>
<hr style="width: 24px;" class="my-2" />
<div>
Expand Down

0 comments on commit 89eac98

Please sign in to comment.