From 8cbff3672f3b33757792dce3bf662c19a5f496f1 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Tue, 25 Feb 2014 16:40:15 -0500 Subject: [PATCH] Fixes on mobile signup form --- .../templates/modal/create_account.js.handlebars | 8 ++++---- app/assets/stylesheets/mobile/login.scss | 13 ++++++++++++- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/modal/create_account.js.handlebars b/app/assets/javascripts/discourse/templates/modal/create_account.js.handlebars index 072ecae0819..0c0ecf277a4 100644 --- a/app/assets/javascripts/discourse/templates/modal/create_account.js.handlebars +++ b/app/assets/javascripts/discourse/templates/modal/create_account.js.handlebars @@ -4,7 +4,7 @@
- + - + - + - +
{{textField value=accountName id="new-account-name" autofocus="autofocus"}}  {{inputTip validation=nameValidation}} @@ -16,7 +16,7 @@
{{input value=accountEmail id="new-account-email" disabled=emailValidated}}  {{inputTip validation=emailValidation}} @@ -28,7 +28,7 @@
{{input value=accountUsername id="new-account-username" maxlength="15"}}  {{inputTip validation=usernameValidation}} @@ -41,7 +41,7 @@ {{#if passwordRequired}}
{{input type="password" value=accountPassword id="new-account-password"}}  {{inputTip validation=passwordValidation}} diff --git a/app/assets/stylesheets/mobile/login.scss b/app/assets/stylesheets/mobile/login.scss index 3301520e960..febb28cae9b 100644 --- a/app/assets/stylesheets/mobile/login.scss +++ b/app/assets/stylesheets/mobile/login.scss @@ -26,6 +26,8 @@ textarea, input, select {font-size: 16px; clear: left; margin-top: 0;} } +a#new-account-link { white-space:nowrap; } + // Create account #new-account-link { @@ -36,4 +38,13 @@ a#forgot-password-link {clear: left; float: left; } .btn-primary {margin-bottom: 10px; font-size: 15; clear: left; float: left;} -a#new-account-link { white-space:nowrap; } +.create-account .modal-body { + input[type=text], input[type=password] { + display: inline-block; + } + tr.input { + td.label { + padding-top: 10px; + } + } +}