Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Reduce the size of the muscle diagram in the exercise view

Roland Geiderec6178886b69
diff --git a/wger/exercises/templates/view.html b/wger/exercises/templates/view.html
index 70ce5b9ec..707e817e6 100644
--- a/wger/exercises/templates/view.html
+++ b/wger/exercises/templates/view.html
@@ -260,8 +260,8 @@ included in the database.{% endblocktrans %}
{% trans "Secondary muscles" %}
</div>
-<div class="ym-grid linearize-level-1">
- <div class="ym-g50 ym-gl">
+<div class="ym-grid linearize-level-1" style="margin-top:1em;">
+ <div class="ym-g33 ym-gl">
<div class="ym-gbox-left">
<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>
@@ -280,7 +280,7 @@ included in the database.{% endblocktrans %}
</ul>
</div>
</div>
- <div class="ym-g50 ym-gr">
+ <div class="ym-g33 ym-gl">
<div class="ym-gbox-right">
<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>
diff --git a/wger/manager/static/css/workout-manager.css b/wger/manager/static/css/workout-manager.css
index 3abd77b3f..ba3bfb885 100644
--- a/wger/manager/static/css/workout-manager.css
+++ b/wger/manager/static/css/workout-manager.css
@@ -110,8 +110,9 @@ a:hover img
*/
div.muscle-background
{
- width: 200px;
- height: 369px;
+ width: 180px;
+ height: 276px;
+ background-size: 150px;
background-repeat: no-repeat;
}