]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix logo gradient not working on some Safari and Blink-based browsers
authorClaire <claire.github-309c@sitedethib.com>
Fri, 10 Jun 2022 15:34:59 +0000 (17:34 +0200)
committeraescling <aescling+gitlab@cat.family>
Mon, 5 Sep 2022 04:27:50 +0000 (00:27 -0400)
Port 37cd984acfdd206e85c50a851c4daedc2c87deb3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
app/javascript/flavours/glitch/styles/basics.scss

index be0e1b860b26a6c40454a33b4f37488fd95f4b63..a00b2936f0c5a228bba6d3ed18cd97fd996b34be 100644 (file)
@@ -181,7 +181,17 @@ button {
 }
 
 .logo-resources {
-  display: none;
+  // Not using display: none because of https://bugs.chromium.org/p/chromium/issues/detail?id=258029
+  visibility: hidden;
+  user-select: none;
+  pointer-events: none;
+  width: 0;
+  height: 0;
+  overflow: hidden;
+  position: absolute;
+  top: 0;
+  left: 0;
+  z-index: -1000;
 }
 
 // NoScript adds a __ns__pop2top class to the full ancestry of blocked elements,