Kaydet (Commit) 0868e5a8 authored tarafından Pedro Mourelle's avatar Pedro Mourelle Kaydeden (comit) Ramiro Morales

Fixed #19177 -- Better layout for admin login form field labels.

Thanks goes to void for the comprehensive report, to Pedro Mourelle for
the fix and to Bryan Veloso, Łukasz Rekucki and Claude Paroz for the
review.

This fix includes the following changes:

* Modified layout to top-aligned labels.
* Added 'air' for inputs (the padding was really needed there.). It
  adjust good to zoom in/out.
* Removed float attributes from label and inputs in login form.
* Removed useless text-align property.
üst 8e8c9b90
...@@ -29,17 +29,20 @@ body.login { ...@@ -29,17 +29,20 @@ body.login {
} }
.login .form-row label { .login .form-row label {
float: left;
width: 9em;
padding-right: 0.5em; padding-right: 0.5em;
line-height: 2em; line-height: 2em;
text-align: right;
font-size: 1em; font-size: 1em;
clear: both;
color: #333; color: #333;
} }
.login .form-row #id_username, .login .form-row #id_password { .login .form-row #id_username, .login .form-row #id_password {
width: 14em; clear: both;
padding: 6px;
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
} }
.login span.help { .login span.help {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment