show portion amounts in cards

This commit is contained in:
Khaïs COLIN 2025-10-24 23:08:23 +02:00
parent f5d758ed2d
commit a182e4e0cb
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo
2 changed files with 6 additions and 1 deletions

View file

@ -5,7 +5,8 @@
<div class="card-inner"> <div class="card-inner">
<div class="amounts"> <div class="amounts">
<p class="unit"> <p class="unit">
<sup>1</sup>&frasl;<sub>4</sub> Cup <!-- <sup>1</sup>&frasl;<sub>4</sub> Cup -->
{{ food.portion }}
</p> </p>
<p class="kc"> <p class="kc">
{{ food.kc_per_serving }} kc {{ food.kc_per_serving }} kc

View file

@ -91,6 +91,10 @@
height: 2em; height: 2em;
} }
.amounts {
width: 4em;
}
.increase { .increase {
background-color: #cb8175; background-color: #cb8175;
} }