Custom last feeding method text size

This commit is contained in:
Christopher C. Wells 2020-02-15 14:14:48 -08:00 committed by Christopher Charbonneau Wells
parent 18b61581b7
commit 8dd2aa9b3a
2 changed files with 6 additions and 1 deletions

View File

@ -42,6 +42,11 @@
.card-body {
@extend .text-primary;
// Last feeding method header in card.
.last-feeding-method {
font-size: 2em;
}
}
}

View File

@ -9,7 +9,7 @@
<div class="carousel-inner">
{% for feeding in feedings %}
<div class="carousel-item{% if forloop.counter == feedings|length %} active{% endif %}">
<div class="display-4 text-center">{{ feeding.get_method_display }}</div>
<div class="last-feeding-method text-center">{{ feeding.get_method_display }}</div>
<div class="text-center small text-muted">
{% if forloop.last %}
{% trans "most recent" %}