Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Set the width of the first column, for a consistent look

Roland Geider42352e350bb7
diff --git a/manager/static/css/yaml401/custom-yaml.css b/manager/static/css/yaml401/custom-yaml.css
index 1998715a2..538913db7 100644
--- a/manager/static/css/yaml401/custom-yaml.css
+++ b/manager/static/css/yaml401/custom-yaml.css
@@ -18,4 +18,9 @@ tr:hover div.editoptions, tbody tr:hover td div.editoptions
*/
.invisible{
display: none;
+}
+
+.ym-g10
+{
+ width: 10%;
}
\ No newline at end of file
diff --git a/manager/templates/workout/view.html b/manager/templates/workout/view.html
index 7c429c832..8f87a54fc 100644
--- a/manager/templates/workout/view.html
+++ b/manager/templates/workout/view.html
@@ -52,7 +52,7 @@ $(document).ready(function() {
<tbody>
{% for set in day.set_set.select_related %}
<tr id="set-{{ set.id }}">
- <td>{{ set.order }}<br> <!--(Set-ID: {{ set.id }})-->
+ <td class="ym-g10">{{ set.order }}<br> <!--(Set-ID: {{ set.id }})-->
<div class="editoptions">
<a href="{% url manager.views.delete_set workout.id day.id set.id %}"
title="{% trans "Delete" %}">[x]</a>