From 30100caf0c444fc32d87bf447d6e28dcf5e28eda Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Thu, 19 Nov 2020 10:41:37 -0500 Subject: [PATCH] Revert "login.css: Fix button styling on iOS" This reverts commit f79bb210ec6e78c135db7b006ae447f37be4ca7e. --- src/browser/pages/login.css | 14 ++------------ src/browser/pages/login.html | 3 +-- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/src/browser/pages/login.css b/src/browser/pages/login.css index 4a66567c..43d03e7e 100644 --- a/src/browser/pages/login.css +++ b/src/browser/pages/login.css @@ -26,7 +26,7 @@ body { border: 1px solid #ddd; box-sizing: border-box; color: black; - width: 100%; + flex: 1; padding: 16px; } @@ -34,16 +34,6 @@ body { display: none; } -.login-form > .field > input[type="submit"] { - position: absolute; - left: -9999px; -} - -.login-form > .field > input[type="submit"]:focus + label { - border: 2px solid #000; -} - -.login-form > .field > .submit{ +.login-form > .field > .submit { margin-left: 20px; - flex-shrink: 0; } diff --git a/src/browser/pages/login.html b/src/browser/pages/login.html index dcfb8f63..fc772f39 100644 --- a/src/browser/pages/login.html +++ b/src/browser/pages/login.html @@ -38,8 +38,7 @@ name="password" autocomplete="current-password" /> - - + {{ERROR}}