Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Make the width of the container and muscle background equal

Roland Geider53d52595a9bd
diff --git a/wger/core/static/css/workout-manager.css b/wger/core/static/css/workout-manager.css
index a102eed8b..b75b79761 100644
--- a/wger/core/static/css/workout-manager.css
+++ b/wger/core/static/css/workout-manager.css
@@ -81,7 +81,7 @@ a img {
* Set the sizes for the background where the muscles are shown on the exercise view page
*/
div.muscle-background {
- width: 180px;
+ width: 150px;
height: 276px;
background-size: 150px;
background-repeat: no-repeat;
diff --git a/wger/exercises/templates/exercise/view.html b/wger/exercises/templates/exercise/view.html
index 9b43bbd3e..75ae5bb88 100644
--- a/wger/exercises/templates/exercise/view.html
+++ b/wger/exercises/templates/exercise/view.html
@@ -216,7 +216,7 @@ $(document).ready(function() {
<div class="row ">
<div class="col">
{% render_muscles muscles_main_front muscles_sec_front %}
- <ul class="list-unstyled">
+ <ul class="list-unstyled text-center">
{% for muscle in muscles_main_front %}
<li>{{muscle.name}}</li>
{% endfor %}
@@ -228,7 +228,7 @@ $(document).ready(function() {
</div>
<div class="col">
{% render_muscles muscles_main_back muscles_sec_back %}
- <ul class="list-unstyled">
+ <ul class="list-unstyled text-center">
{% for muscle in muscles_main_back %}
<li>{{muscle.name}}</li>
{% endfor %}