Self hosted FLOSS fitness/workout, nutrition and weight tracker
Set width of columns on ingredient view so both tables align
Roland Geider9b3389bf1b66
diff --git a/nutrition/templates/view_ingredient.html b/nutrition/templates/view_ingredient.htmlindex 01c299e85..dcbc68d33 100644--- a/nutrition/templates/view_ingredient.html+++ b/nutrition/templates/view_ingredient.html@@ -34,7 +34,7 @@ $(document).ready(function() {</thead><tbody><tr>- <td>{% trans "Energy" %}</td>+ <td style="width:80%;">{% trans "Energy" %}</td><td>{{ingredient.energy}} kcal</td></tr><tr>@@ -70,7 +70,7 @@ $(document).ready(function() {</thead><tbody><tr>- <td>{% trans "Fibres" %}</td>+ <td style="width:80%;">{% trans "Fibres" %}</td><td>{% if ingredient.fibres %}{{ingredient.fibres}} g{% else %}-/-{% endif %}</td></tr><tr>