[Rt-commit] rt branch, 4.4/login-form-alignment, repushed
? sunnavy
sunnavy at bestpractical.com
Wed Sep 5 16:31:12 EDT 2018
The branch 4.4/login-form-alignment was deleted and repushed:
was 428f09d1753136ab8c53ec6716248647762adc82
now 93958b8569b069f65f62ba20ea6090d4698a78b4
1: 428f09d17 ! 1: 93958b856 Better align input boxes and login button
@@ -1,6 +1,9 @@
Author: Jim Brandt <jbrandt at bestpractical.com>
Better align input boxes and login button
+
+ Input boxes have "left: 1em" css, which pushes their right edge 1em off,
+ so we need to push the button 1em accordingly(i.e. margin-right: -1em)
diff --git a/share/static/css/rudder/login.css b/share/static/css/rudder/login.css
--- a/share/static/css/rudder/login.css
@@ -13,11 +16,11 @@
+ width: 10.5em
+}
+
-+#login-box form {
-+ width: 100%;
++#login-box div.button-row {
++ padding-right: 0;
++ margin-top: 1em;
+}
+
+#login-box .button {
-+ margin-right: 2.4em;
-+ margin-top: 0.5em;
++ margin-right: -1em;
}
More information about the rt-commit
mailing list