show portion amounts in cards
This commit is contained in:
parent
f5d758ed2d
commit
a182e4e0cb
2 changed files with 6 additions and 1 deletions
|
|
@ -5,7 +5,8 @@
|
|||
<div class="card-inner">
|
||||
<div class="amounts">
|
||||
<p class="unit">
|
||||
<sup>1</sup>⁄<sub>4</sub> Cup
|
||||
<!-- <sup>1</sup>⁄<sub>4</sub> Cup -->
|
||||
{{ food.portion }}
|
||||
</p>
|
||||
<p class="kc">
|
||||
{{ food.kc_per_serving }} kc
|
||||
|
|
|
|||
|
|
@ -91,6 +91,10 @@
|
|||
height: 2em;
|
||||
}
|
||||
|
||||
.amounts {
|
||||
width: 4em;
|
||||
}
|
||||
|
||||
.increase {
|
||||
background-color: #cb8175;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue