From e73b49e18d3fbcc055d5423dfd91f362afd3ba1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Gla=CC=88ser?= Date: Wed, 25 Mar 2026 17:06:32 +0100 Subject: [PATCH] Center privacy modal --- styles.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/styles.css b/styles.css index d188443..d705fd2 100644 --- a/styles.css +++ b/styles.css @@ -721,6 +721,10 @@ button { position: fixed; inset: 0; z-index: 21; + display: flex; + align-items: center; + justify-content: center; + padding: 1rem; overflow-y: auto; overscroll-behavior: contain; } @@ -736,7 +740,6 @@ button { position: relative; width: min(680px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); - margin: 2rem auto; overflow-x: hidden; overflow-y: auto; padding: 2rem; @@ -1082,7 +1085,6 @@ button { .privacy-flyover__panel { width: calc(100vw - 2.5rem); max-height: calc(100dvh - 2.5rem); - margin: 1.25rem auto; padding: 1.2rem; border-radius: 2rem; }