From 0f9c97aea030e1635bc26b37b85b361c9ff93b27 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Thu, 7 Dec 2023 14:45:05 +0100 Subject: [PATCH] Center login content for every screen size (#18943) --- src/html/authorize.html.template | 9 ++------- src/html/onboarding.html.template | 9 ++------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/src/html/authorize.html.template b/src/html/authorize.html.template index 11724890bf..d4275d3381 100644 --- a/src/html/authorize.html.template +++ b/src/html/authorize.html.template @@ -26,7 +26,8 @@ width: 100%; max-width: 400px; margin: 0 auto; - box-sizing: border-box; + padding: 0 16px; + box-sizing: content-box; } .header { @@ -40,12 +41,6 @@ height: 56px; width: 56px; } - - @media (max-width: 592px) { - .content { - margin: 0 16px; - } - } diff --git a/src/html/onboarding.html.template b/src/html/onboarding.html.template index 9f89da79f0..cac5129033 100644 --- a/src/html/onboarding.html.template +++ b/src/html/onboarding.html.template @@ -22,7 +22,8 @@ .content { max-width: 560px; margin: 0 auto; - box-sizing: border-box; + padding: 0 16px; + box-sizing: content-box; } .header { @@ -36,12 +37,6 @@ height: 56px; width: 56px; } - - @media (max-width: 592px) { - .content { - margin: 0 16px; - } - }