Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

cancel margin-top for the first h2 in 'shoutout' block on feature page, so it will be in line with other columns

Roman Pavlov6f548ab1e1b6
diff --git a/wger/core/static/css/workout-manager.css b/wger/core/static/css/workout-manager.css
index 24803e00b..18a3e7b14 100644
--- a/wger/core/static/css/workout-manager.css
+++ b/wger/core/static/css/workout-manager.css
@@ -288,4 +288,11 @@ div.info a, div.info a:hover, div.info a:active{
left: auto;
right: auto;
bottom: auto;
+}
+
+/**************************************************************
+ * 'Your ...' shoutouts on the feature page
+ **************************************************************/
+#shoutout h2:first-child {
+ margin-top: 0;
}
\ No newline at end of file
diff --git a/wger/software/templates/functions.html b/wger/software/templates/functions.html
index 73a449b8d..a86cdca99 100644
--- a/wger/software/templates/functions.html
+++ b/wger/software/templates/functions.html
@@ -27,10 +27,12 @@
style="width: 70%;">
</div>
<div class="col-sm-5 col-xs-6">
- <h2>{% trans "Your body." %}</h2>
- <h2>{% trans "Your workouts." %}</h2>
- <h2>{% trans "Your data." %}</h2>
- <h2>{% trans "Your progress." %}</h2>
+ <div id="shoutout">
+ <h2>{% trans "Your body." %}</h2>
+ <h2>{% trans "Your workouts." %}</h2>
+ <h2>{% trans "Your data." %}</h2>
+ <h2>{% trans "Your progress." %}</h2>
+ </div>
</div>
<div class="col-sm-3 col-xs-12">
{% if not user.is_authenticated %}