mirror of
https://github.com/StefBuwalda/cal_counter.git
synced 2025-10-30 03:10:00 +00:00
Content aware class fix
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
<h5>Items Eaten Today</h5>
|
<h5>Items Eaten Today</h5>
|
||||||
<div class="list-group list-group-flush">
|
<div class="list-group list-group-flush">
|
||||||
{% for log in logs %}
|
{% for log in logs %}
|
||||||
<div class="list-group-item item-row d-flex justify-content-between align-items-center bg-dark text-light">
|
<div class="list-group-item item-row d-flex justify-content-between align-items-center">
|
||||||
<span>({{ log.amount }}g) {{ log.food_item.name }}</span>
|
<span>({{ log.amount }}g) {{ log.food_item.name }}</span>
|
||||||
<span>{{ log.food_item.energy_100 * log.amount / 100 }} kcal</span>
|
<span>{{ log.food_item.energy_100 * log.amount / 100 }} kcal</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
<div class="container-fluid fixed-bottom py-2">
|
<div class="container-fluid fixed-bottom py-2">
|
||||||
<div class="d-flex p-3">
|
<div class="d-flex p-3">
|
||||||
<!-- Left Button -->
|
<!-- Left Button -->
|
||||||
<a href="" class="btn btn-outline-light flex-fill me-2 rounded-pill">
|
<a href="" class="btn card flex-fill me-2 rounded-pill">
|
||||||
‹ Previous
|
‹ Previous
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Right Button -->
|
<!-- Right Button -->
|
||||||
<a href="" class="btn btn-outline-light flex-fill ms-2 rounded-pill">
|
<a href="" class="btn card flex-fill ms-2 rounded-pill">
|
||||||
Next ›
|
Next ›
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user