summaryrefslogtreecommitdiffstats
path: root/browser/extensions/webcompat/injections/css/bug1800143-www.nintendo.co.jp-zoomed-in-image-scrolling-fix.css
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /browser/extensions/webcompat/injections/css/bug1800143-www.nintendo.co.jp-zoomed-in-image-scrolling-fix.css
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/extensions/webcompat/injections/css/bug1800143-www.nintendo.co.jp-zoomed-in-image-scrolling-fix.css')
-rw-r--r--browser/extensions/webcompat/injections/css/bug1800143-www.nintendo.co.jp-zoomed-in-image-scrolling-fix.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/browser/extensions/webcompat/injections/css/bug1800143-www.nintendo.co.jp-zoomed-in-image-scrolling-fix.css b/browser/extensions/webcompat/injections/css/bug1800143-www.nintendo.co.jp-zoomed-in-image-scrolling-fix.css
new file mode 100644
index 0000000000..f5f0bcf3b7
--- /dev/null
+++ b/browser/extensions/webcompat/injections/css/bug1800143-www.nintendo.co.jp-zoomed-in-image-scrolling-fix.css
@@ -0,0 +1,11 @@
+/**
+ * www.nintendo.co.jp - Scrolling is interrupted on zoomed-in images
+ * Bug #1800143 - https://bugzilla.mozilla.org/show_bug.cgi?id=1800143
+ * WebCompat issue #108190 - https://webcompat.com/issues/108190
+ *
+ * The page is not adding a fallback for -webkit-user-drag: none,
+ * so we add pointer-events:none.
+ */
+.local-catalog__zoomImageContent img {
+ pointer-events: none;
+}