Self hosted FLOSS fitness/workout, nutrition and weight tracker
Center the muscle overview in all pages
Roland Geiderb00e36a04808
diff --git a/wger/exercises/templates/exercise/view.html b/wger/exercises/templates/exercise/view.htmlindex 1e6110edb..d9c8252c6 100644--- a/wger/exercises/templates/exercise/view.html+++ b/wger/exercises/templates/exercise/view.html@@ -238,7 +238,7 @@ included in the database.{% endblocktrans %}<div class="row" style="margin-top:1em;"><div class="col-md-6 col-xs-6">- <div id="muscle-front" class="muscle-background" style="background-image: {% for background in muscle_backgrounds_front %}url({% static background %}){% if not forloop.last %},{% endif %}{% endfor %};">+ <div id="muscle-front" class="muscle-background center-block" style="background-image: {% for background in muscle_backgrounds_front %}url({% static background %}){% if not forloop.last %},{% endif %}{% endfor %};"></div><ul>{% for muscle in muscles %}@@ -255,7 +255,7 @@ included in the database.{% endblocktrans %}</ul></div><div class="col-md-6 col-xs-6">- <div id="muscle-back" class="muscle-background" style="background-image: {% for background in muscle_backgrounds_back %}url({% static background %}){% if not forloop.last %},{% endif %}{% endfor %};">+ <div id="muscle-back" class="muscle-background center-block" style="background-image: {% for background in muscle_backgrounds_back %}url({% static background %}){% if not forloop.last %},{% endif %}{% endfor %};"></div><ul>{% for muscle in muscles %}diff --git a/wger/manager/templates/mobile/workout/view.html b/wger/manager/templates/mobile/workout/view.htmlindex cc3ad93e5..03c86c18d 100644--- a/wger/manager/templates/mobile/workout/view.html+++ b/wger/manager/templates/mobile/workout/view.html@@ -100,13 +100,13 @@ $(document).ready(function() {<div class="row"><div class="col-xs-6"><div id="muscle-front"- class="muscle-background"+ class="muscle-background center-block"style="width: 120px; height: 220px; background-size: 120px; background-image: {% for background in muscle_backgrounds_front %}url({% static background %}){% if not forloop.last %},{% endif %}{% endfor %};"></div></div><div class="col-xs-6"><div id="muscle-back"- class="muscle-background"+ class="muscle-background center-block"style="width: 120px; height: 220px; background-size: 120px; background-image: {% for background in muscle_backgrounds_back %}url({% static background %}){% if not forloop.last %},{% endif %}{% endfor %};"></div></div>diff --git a/wger/manager/templates/workout/view.html b/wger/manager/templates/workout/view.htmlindex dd6afc03c..c492c874c 100644--- a/wger/manager/templates/workout/view.html+++ b/wger/manager/templates/workout/view.html@@ -89,13 +89,13 @@ $(document).ready(function() {<div class="row"><div class="col-md-6"><div id="muscle-front"- class="muscle-background"+ class="muscle-background center-block"style="width: 120px; height: 220px; background-size: 120px; background-image: {% for background in muscle_backgrounds_front %}url({% static background %}){% if not forloop.last %},{% endif %}{% endfor %};"></div></div><div class="col-md-6"><div id="muscle-back"- class="muscle-background"+ class="muscle-background center-block"style="width: 120px; height: 220px; background-size: 120px; background-image: {% for background in muscle_backgrounds_back %}url({% static background %}){% if not forloop.last %},{% endif %}{% endfor %};"></div></div>