Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix problem with save button on narrow devices

Roland Geider4683229610ea
diff --git a/wger/core/static/css/bootstrap-custom.css b/wger/core/static/css/bootstrap-custom.css
index d50295e8b..129d13b39 100644
--- a/wger/core/static/css/bootstrap-custom.css
+++ b/wger/core/static/css/bootstrap-custom.css
@@ -100,7 +100,7 @@ body {
margin-left: -30px;
}
-#nav {
+.row-offcanvas #nav {
overflow-y: scroll;
overflow-x: hidden;
position: fixed;
diff --git a/wger/core/templates/user/preferences.html b/wger/core/templates/user/preferences.html
index c6c213b0f..dc6a13228 100644
--- a/wger/core/templates/user/preferences.html
+++ b/wger/core/templates/user/preferences.html
@@ -93,8 +93,12 @@ $(function() {
</div>
</div>
</div>
+
+
<div class="form-group">
+ <div class="col-md-12">
<input type="submit" value="{% trans 'Save' %}" id="form-save" class="btn btn-default btn-block">
+ </div>
</div>
</form>
{% endblock %}