[tbb-commits] [tor-browser/tor-browser-78.11.0esr-10.5-1] fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser

sysrqb at torproject.org sysrqb at torproject.org
Wed Jun 30 19:43:41 UTC 2021


commit b0c9aa0139e57a290b387942c461e2ae1b1a9bec
Author: Richard Pospesel <richard at torproject.org>
Date:   Tue Jun 29 15:43:36 2021 +0200

    fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser
---
 browser/themes/shared/onionPattern.css | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/browser/themes/shared/onionPattern.css b/browser/themes/shared/onionPattern.css
index ac1af7b8d65e..c605a4b4f59e 100644
--- a/browser/themes/shared/onionPattern.css
+++ b/browser/themes/shared/onionPattern.css
@@ -19,6 +19,8 @@
   display: flex;
   justify-content: center;
   overflow-x: hidden;
+  pointer-events: none; /* for some reason, elements with overflow-x: hidden set become focusable */
+
   margin: 0 auto;
 }
 
@@ -28,6 +30,7 @@
   height: calc((2 + var(--sqrt3)) * var(--onion-radius, 50px)); /* room for 2 rows of circles */
   flex-shrink: 0;
   overflow-x: hidden;   /* clip extra circles on the sides */
+  pointer-events: none; /* for some reason, elements with overflow-x: hidden set become focusable */
 }
 
 .onion-pattern-row {





More information about the tbb-commits mailing list