Skip to content

Commit

Permalink
hotfix(vote): add first letter uppercase in infos on candidature prof…
Browse files Browse the repository at this point in the history
…ile page
  • Loading branch information
miguelzinh3 committed Sep 25, 2024
1 parent 427f015 commit d846cc8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ <h1 class="text-uppercase fw-bold">{{ candidature.ballot_name }} | {{ candidatur
<hr class="my-4"/>
<div>
<h3 class="text-uppercase pb-2">Informações</h3>
<div class="d-flex flex-wrap">
<div class="d-flex flex-wrap candidature-profile-info">
<div class="col pe-2">
<p><strong>Data de nascimento:</strong> {{ candidature.birth_date }}</p>
<p><strong>Cor ou raça:</strong> {{ candidature.get_color_display }}</p>
Expand Down
10 changes: 10 additions & 0 deletions app/org_eleicoes/votepeloclima/static/scss/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,16 @@ legend.form-label {


// Perfil da Candidatura
.candidature-profile {
.candidature-profile-info p {
text-transform: lowercase;

&::first-letter {
text-transform: uppercase;
}

}
}
@media (max-width: 992px) {
.candidature-profile {
h2 {
Expand Down

0 comments on commit d846cc8

Please sign in to comment.