From 8a8d931688550e8867a56b227a864f4429d8b155 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Sat, 26 Mar 2016 10:25:33 +0800 Subject: [PATCH] UX: Buttons not positioned within form. --- .../javascripts/discourse/templates/user/preferences.hbs | 2 +- app/assets/stylesheets/mobile/user.scss | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/templates/user/preferences.hbs b/app/assets/javascripts/discourse/templates/user/preferences.hbs index d5e469983..6591c9eb8 100644 --- a/app/assets/javascripts/discourse/templates/user/preferences.hbs +++ b/app/assets/javascripts/discourse/templates/user/preferences.hbs @@ -278,7 +278,7 @@ {{plugin-outlet "user-custom-controls"}} -
+
{{partial 'user/preferences/save-button'}}
diff --git a/app/assets/stylesheets/mobile/user.scss b/app/assets/stylesheets/mobile/user.scss index 489730fdb..b4c841f97 100644 --- a/app/assets/stylesheets/mobile/user.scss +++ b/app/assets/stylesheets/mobile/user.scss @@ -56,6 +56,10 @@ } } + .delete-account { + overflow: hidden; + } + .checkbox-label { overflow: auto; display: block;