Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Make nutrition table more or less work on mobile

Roland Geider21fdf2f20cbe
diff --git a/wger/nutrition/templates/plan/view.html b/wger/nutrition/templates/plan/view.html
index 6d282c4af..536347833 100644
--- a/wger/nutrition/templates/plan/view.html
+++ b/wger/nutrition/templates/plan/view.html
@@ -42,6 +42,7 @@ function wgerCustomModalInit()
<h4>{{plan.description}}</h4>
{% endif %}
+<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr style="background: #E0E0E0;">
@@ -149,6 +150,8 @@ function wgerCustomModalInit()
{% endif %}
</tbody>
</table>
+</div>
+
<h4>{% trans "Nutritional data" %}</h4>
{% if weight_entry %}