From 0859efc06adae58b8fa09912a5a2ee082df9730d Mon Sep 17 00:00:00 2001 From: blon Date: Mon, 6 Jul 2026 21:31:13 -0400 Subject: [PATCH] fix(client): prevent Google CCPA button from shifting layout (#4519) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description: When Google Funding Choices CMP dynamically injects the CCPA "Do Not Sell or Share My Personal Information" button (`.fc-dns-link`) directly into the document ``, it becomes a flex child because the body uses a `flex flex-row` layout. This pushes the main page container to the left. The PR fixes that. ## Please complete the following: - [x] I have added screenshots for all UI updates *(Tick this if you took a screenshot of the injected button)* - [ ] I process any text displayed to the user through translateText() and I've added it to the en.json file - [ ] I have added relevant tests to the test directory ## Please put your Discord username so you can be contacted if a bug or regression is found: blontd6 Screenshot 2026-07-06 at 7 58 47 PM --- index.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/index.html b/index.html index f042ec74b..ef9f60b20 100644 --- a/index.html +++ b/index.html @@ -33,6 +33,18 @@ z-index: 150 !important; } + /* Google Funding Choices CCPA link override */ + .fc-dns-link, + .fc-ccpa-root, + .fc-consent-root { + position: fixed !important; + z-index: 999999 !important; + } + .fc-dns-link { + bottom: 15px !important; + left: 15px !important; + } + /* Ensure full viewport height on iOS */ html, body {