From a673ff3a63b17ba4df194d60fe8a6e6eb2671557 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 14 Jan 2020 19:37:54 +0100 Subject: [PATCH] Fix max width on 2FA pages Signed-off-by: Christoph Wurst --- core/css/guest.css | 4 ++++ core/templates/twofactorselectchallenge.php | 2 +- core/templates/twofactorshowchallenge.php | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/core/css/guest.css b/core/css/guest.css index 26c8fbc9cc..7fbab45b92 100644 --- a/core/css/guest.css +++ b/core/css/guest.css @@ -471,6 +471,10 @@ form .warning input[type='checkbox']+label { color: #fff !important; } +.body-login-container.two-factor { + max-width: 290px; + margin: 15px auto 0; +} .two-factor-provider { display: flex; border-radius: 3px; /* --border-radius */ diff --git a/core/templates/twofactorselectchallenge.php b/core/templates/twofactorselectchallenge.php index 86561cddb3..830b82b041 100644 --- a/core/templates/twofactorselectchallenge.php +++ b/core/templates/twofactorselectchallenge.php @@ -1,7 +1,7 @@ -