UX: Signup form labels were too constrained, minor cleanup

UX: Signup form labels were too constrained, minor cleanup

diff --git a/app/assets/stylesheets/common/base/login.scss b/app/assets/stylesheets/common/base/login.scss
index 72bd435..fa767cd 100644
--- a/app/assets/stylesheets/common/base/login.scss
+++ b/app/assets/stylesheets/common/base/login.scss
@@ -17,7 +17,7 @@
     width: 100%;
   }
   a {
-    color: dark-light-choose($primary-high, $secondary-low);
+    color: $primary-high;
   }
   td {
     padding-right: 5px;
@@ -33,9 +33,6 @@
   cursor: pointer;
 }
 
-$label-width: 92px;
-$input-width: 220px;
-
 .login-modal,
 .create-account {
   tr {
@@ -61,25 +58,13 @@ $input-width: 220px;
 }
 
 .create-account {
-  table {
-    td.label {
-      width: $label-width;
-    }
-
-    td input {
-      width: $input-width;
-    }
-  }
-
   .disclaimer {
-    color: dark-light-choose($primary-medium, $secondary-medium);
+    color: $primary-medium;
     margin-top: 0.5em;
   }
 
   .user-field {
     > label {
-      width: $label-width;
-      float: left;
       margin-top: 0.75em;
       margin-bottom: 0;
       padding-top: 5px;
@@ -99,7 +84,6 @@ $input-width: 220px;
 
     .controls {
       padding-top: 5px;
-      margin-left: $label-width;
       label {
         width: auto;
         text-align: left;
@@ -107,18 +91,17 @@ $input-width: 220px;
       }
       .instructions {
         margin-top: 0.15em;
-        color: dark-light-choose($primary-medium, $secondary-medium);
+        color: $primary-medium;
         line-height: $line-height-medium;
       }
     }
-    clear: both;
   }
 }
 
 .password-reset {
   .instructions {
     label {
-      color: dark-light-choose($primary-medium, $secondary-medium);
+      color: $primary-medium;
     }
   }
 }
@@ -150,7 +133,7 @@ $input-width: 220px;
       margin-bottom: 10px;
     }
     .instructions {
-      color: dark-light-choose($primary-medium, $secondary-medium);
+      color: $primary-medium;
       margin: 0;
       font-size: $font-down-1;
       font-weight: normal;
@@ -171,7 +154,7 @@ $input-width: 220px;
   flex-direction: column;
   margin-top: 0.15em;
   label {
-    color: dark-light-choose($primary-medium, $secondary-medium);
+    color: $primary-medium;
   }
 }
 
@@ -180,5 +163,5 @@ $input-width: 220px;
 button#login-link,
 button#new-account-link {
   background: transparent;
-  color: dark-light-choose($primary-high, $secondary-low);
+  color: $primary-high;
 }
diff --git a/app/assets/stylesheets/desktop/login.scss b/app/assets/stylesheets/desktop/login.scss
index f662677..09b512b 100644
--- a/app/assets/stylesheets/desktop/login.scss
+++ b/app/assets/stylesheets/desktop/login.scss
@@ -129,6 +129,7 @@
       padding: 15px;
       margin-bottom: 5px;
       max-height: 475px;
+      max-width: 350px;
       @media screen and (max-height: 768px) {
         max-height: 60vh;
       }
diff --git a/app/assets/stylesheets/mobile/login.scss b/app/assets/stylesheets/mobile/login.scss
index 196deff..b8930a4 100644
--- a/app/assets/stylesheets/mobile/login.scss
+++ b/app/assets/stylesheets/mobile/login.scss
@@ -20,7 +20,7 @@
     margin-left: -2%;
 
     button {
-      flex: 1 1 48%;
+      flex: 1 1 47%;
       max-width: 70%;
       margin: 1% 0 1% 2%;
       font-size: $font-up-1;

GitHub sha: 37666c3d

1 Like

This commit has been mentioned on Discourse Meta. There might be relevant details there:

This commit has been mentioned on Discourse Meta. There might be relevant details there: