Defect #31371

"Stay logged in" checkbox in Sign in page is misaligned after r18056

Added by Go MAEDA over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:UI
Target version:-
Resolution:Fixed Affected version:

Description

The checkbox is misaligned after r18056.

[Before]

[After]

before-r18056@2x.png (14.8 KB) Go MAEDA, 2019-05-15 07:00

after-r18056@2x.png (15.6 KB) Go MAEDA, 2019-05-15 07:00


Related issues

Blocks Redmine - Patch #31147: Add custom styles for all fields Closed

Associated revisions

Revision 18169
Added by Go MAEDA over 2 years ago

Fix that "Stay logged in" checkbox in Sign in page is misaligned (#31147, #31371).

Patch by Marius BALTEANU.

History

#1 Updated by Go MAEDA over 2 years ago

  • Blocks Patch #31147: Add custom styles for all fields added

#2 Updated by Marius BALTEANU over 2 years ago

Here is the fix:

diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 11b9263..7bcdfaa 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -103,7 +103,8 @@ html>body #content { min-height: 600px; }
 #login-form {margin:5em auto 2em auto; padding:20px; width:340px; border:1px solid #FDBF3B; background-color:#FFEBC1; border-radius:4px; box-sizing: border-box;}
 #login-form label {display:block; margin-bottom:5px; font-weight:bold;}
 #login-form label[for=autologin] {font-weight:normal;}
-#login-form input {display:block; width:100%; height: 29px;}
+#login-form input {height: 29px;}
+#login-form input[type=text], #login-form input[type=password], #login-form input[type=submit] {display: block; width: 100%;}
 #login-form input[type=text], #login-form input[type=password] {margin-bottom: 15px;}
 #login-form a.lost_password {float:right; font-weight:normal;}
 #login-form input#openid_url {background:#fff url(../images/openid-bg.gif) no-repeat 4px 50%; padding-left:24px !important;}

#3 Updated by Go MAEDA over 2 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch. Thank you for writing the fix.

Also available in: Atom PDF