Skip to content

Commit

Permalink
increase name size and orient badge under name
Browse files Browse the repository at this point in the history
  • Loading branch information
cassieemb committed Feb 28, 2025
1 parent ed7968a commit c705405
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@
style: "width: 100%; height: 100%; object-fit: cover;"
) %>
</div>
</div>
<div class="d-flex flex-column align-items-center flex-shrink-0">
<h2 class="card-title mb-0 flex-grow-1 text-center">
<%= fostered_pet.pet.name %>
</h2>
<div class="badge mt-2 <%= status_classes(fostered_pet.status) %>">
<%= fostered_pet.status.to_s.titleize %>
</div>
</div>

<h3 class="card-title mb-0 flex-grow-1 text-center">
<%= fostered_pet.pet.name %>
</h3>
<div class="fostered-dates d-flex flex-column text-start">
<h5 class="mb-1">Start: <%= fostered_pet.start_date.strftime("%m/%d/%y") %></h5>
<h5 class="mt-1">End: <%= fostered_pet.end_date.strftime("%m/%d/%y") %></h5>
Expand Down

0 comments on commit c705405

Please sign in to comment.