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; }