From 1775271d4623eb9da32a0c01b3fcd5006e719736 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Mon, 28 Oct 2013 11:19:18 -0400 Subject: [PATCH] Reverse positions of buttons on user profile --- .../discourse/templates/user/user.js.handlebars | 8 ++++---- app/assets/stylesheets/desktop/user.scss | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/user/user.js.handlebars b/app/assets/javascripts/discourse/templates/user/user.js.handlebars index e4bc1ded5a9..bcbbaf307ff 100644 --- a/app/assets/javascripts/discourse/templates/user/user.js.handlebars +++ b/app/assets/javascripts/discourse/templates/user/user.js.handlebars @@ -73,7 +73,7 @@
{{#if can_send_private_message_to_user}} - @@ -84,14 +84,14 @@ {{/if}} {{#if currentUser.staff}} -  {{i18n admin.user.show_admin_profile}} +  {{i18n admin.user.show_admin_profile}} {{/if}} {{#if can_edit}} - {{#link-to 'preferences' class="btn"}}{{i18n user.preferences}}{{/link-to}} + {{#link-to 'preferences' class="btn right"}}{{i18n user.preferences}}{{/link-to}} {{/if}} - {{#link-to 'user.invited' class="btn"}}{{i18n user.invited.title}}{{/link-to}} + {{#link-to 'user.invited' class="btn right"}}{{i18n user.invited.title}}{{/link-to}}
diff --git a/app/assets/stylesheets/desktop/user.scss b/app/assets/stylesheets/desktop/user.scss index 73e2c993d00..e3d47c13e06 100644 --- a/app/assets/stylesheets/desktop/user.scss +++ b/app/assets/stylesheets/desktop/user.scss @@ -205,9 +205,11 @@ background-color: #ddd; margin-top: 10px; padding: 5px; + height: 32px; .right { float: right; + margin-left: 5px; } } }