From f6762fd30b893eae2cb6be8cafccd59e38bfb6b6 Mon Sep 17 00:00:00 2001
From: Lucas Serven <lucas.serven@coreos.com>
Date: Thu, 29 Sep 2016 15:34:44 -0700
Subject: [PATCH] frontend: revert button fix

This commit reverts the last fix to the button, since it introduced
another issue. Also, it addressed the root cause of the original
problem, which was that one of the templates was missing the correct
class.
---
 static/html/header.html         | 12 ++++++------
 static/html/reset-password.html |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/static/html/header.html b/static/html/header.html
index c07f5bfb..4327efd1 100644
--- a/static/html/header.html
+++ b/static/html/header.html
@@ -89,14 +89,14 @@
       }
 
       .btn {
-        border: none;
-        border-radius: 4px;
         box-shadow: inset 0 1px 0px rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.25), 0 0px 1px rgba(0, 0, 0, 0.25);
-        cursor: pointer;
+        padding: 0;
         font-size: 14px;
-        line-height: 1;
-        padding: 6px 12px;
-      
+        border-radius: 4px;
+        border: none;
+        cursor: pointer;
+        font-size: 16px;
+      }
       .btn:focus {
         outline: none;
       }
diff --git a/static/html/reset-password.html b/static/html/reset-password.html
index b692489e..b031fb1e 100644
--- a/static/html/reset-password.html
+++ b/static/html/reset-password.html
@@ -37,7 +37,7 @@
           </div>
         {{ end }}
 
-        <button type="submit" class="btn btn-tec">Reset</button>
+        <button type="submit" class="btn btn-primary">Reset</button>
         <input type="hidden" name="token" value="{{ .Token }}" />
       </form>
     {{ end }}
-- 
GitLab