mirror of https://github.com/snachodog/mybuddy.git
Custom last feeding method text size
This commit is contained in:
parent
18b61581b7
commit
8dd2aa9b3a
|
@ -42,6 +42,11 @@
|
|||
|
||||
.card-body {
|
||||
@extend .text-primary;
|
||||
|
||||
// Last feeding method header in card.
|
||||
.last-feeding-method {
|
||||
font-size: 2em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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" %}
|
||||
|
|
Loading…
Reference in New Issue