From 1cdc017384b51123d87b3c6078507d57b23fb56e Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Fri, 15 Sep 2023 18:20:30 +0200 Subject: [PATCH] frontend: have better margins everywhere --- frontend/src/components/Layout.module.css | 7 ++++--- templates/components/navbar.html | 2 +- templates/pages/account/emails/add.html | 2 +- templates/pages/account/emails/verify.html | 2 +- templates/pages/account/password.html | 2 +- templates/pages/index.html | 2 +- templates/pages/login.html | 2 +- templates/pages/policy_violation.html | 2 +- templates/pages/reauth.html | 2 +- templates/pages/register.html | 2 +- templates/pages/upstream_oauth2/do_register.html | 2 +- templates/pages/upstream_oauth2/link_mismatch.html | 2 +- templates/pages/upstream_oauth2/suggest_link.html | 2 +- 13 files changed, 16 insertions(+), 15 deletions(-) diff --git a/frontend/src/components/Layout.module.css b/frontend/src/components/Layout.module.css index c15f37ae..3351a1c6 100644 --- a/frontend/src/components/Layout.module.css +++ b/frontend/src/components/Layout.module.css @@ -14,9 +14,10 @@ */ .container { - width: 378px; - margin: var(--cpd-space-10x) auto var(--cpd-space-6x) auto; - padding-bottom: var(--cpd-space-10x) + box-sizing: border-box; + max-width: calc(378px + var(--cpd-space-6x) * 2); + margin: 0 auto; + padding: var(--cpd-space-6x); } .footer { diff --git a/templates/components/navbar.html b/templates/components/navbar.html index e98609f3..91ae7c80 100644 --- a/templates/components/navbar.html +++ b/templates/components/navbar.html @@ -15,7 +15,7 @@ limitations under the License. #} {% macro top() %} -