From fd6accdc615804b048dc02cc3754418ee4cb69e5 Mon Sep 17 00:00:00 2001 From: Laurel Fulford Date: Fri, 6 Sep 2024 10:22:20 -0700 Subject: [PATCH 1/3] fix: recaptcha badge side-scroll --- src/reader-activation-auth/style.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/reader-activation-auth/style.scss b/src/reader-activation-auth/style.scss index 1584677771..db7c8de7b4 100644 --- a/src/reader-activation-auth/style.scss +++ b/src/reader-activation-auth/style.scss @@ -11,6 +11,11 @@ .response-container { margin-bottom: 12px; } + + // Prevent an odd side-scroll issue with reCAPTCHA 2.] + .grecaptcha-badge { + inset: 0 !important; + } } .entry-content .newspack-reader, From f7b78de33a0a6d236ff8b8d7f6434d577922a77f Mon Sep 17 00:00:00 2001 From: Laurel Fulford Date: Fri, 6 Sep 2024 10:28:15 -0700 Subject: [PATCH 2/3] fix: correct comment typo --- src/reader-activation-auth/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reader-activation-auth/style.scss b/src/reader-activation-auth/style.scss index db7c8de7b4..50a1182bd2 100644 --- a/src/reader-activation-auth/style.scss +++ b/src/reader-activation-auth/style.scss @@ -12,7 +12,7 @@ margin-bottom: 12px; } - // Prevent an odd side-scroll issue with reCAPTCHA 2.] + // Prevent an odd side-scroll issue with reCAPTCHA 2. .grecaptcha-badge { inset: 0 !important; } From 4dbaf64f456892f45b8088269d20f3f314d67b5c Mon Sep 17 00:00:00 2001 From: Laurel Fulford Date: Fri, 6 Sep 2024 12:07:25 -0700 Subject: [PATCH 3/3] fix: adapting to a more general fix --- src/other-scripts/recaptcha/style.scss | 1 + src/reader-activation-auth/style.scss | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/other-scripts/recaptcha/style.scss b/src/other-scripts/recaptcha/style.scss index 1ba9349a03..52fdd4451e 100644 --- a/src/other-scripts/recaptcha/style.scss +++ b/src/other-scripts/recaptcha/style.scss @@ -10,5 +10,6 @@ // Hide reCAPTCHA badge .grecaptcha-badge { + inset: 0 !important; // Prevents an odd side-scroll issue in the registration modal & block. visibility: hidden !important; } diff --git a/src/reader-activation-auth/style.scss b/src/reader-activation-auth/style.scss index 50a1182bd2..1584677771 100644 --- a/src/reader-activation-auth/style.scss +++ b/src/reader-activation-auth/style.scss @@ -11,11 +11,6 @@ .response-container { margin-bottom: 12px; } - - // Prevent an odd side-scroll issue with reCAPTCHA 2. - .grecaptcha-badge { - inset: 0 !important; - } } .entry-content .newspack-reader,