[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit b0c9aa0139e57a290b387942c461e2ae1b1a9bec
Author: Richard Pospesel <richard@xxxxxxxxxxxxxx>
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 {



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits