summaryrefslogtreecommitdiffstats
path: root/browser/extensions/webcompat/injections
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:17:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:17:15 +0000
commitac8d05af898765571f7f7db4b8bfc8b73907652d (patch)
tree0a1a0e03b3c49df9b7713587b9d423dc5d8a2709 /browser/extensions/webcompat/injections
parentReleasing progress-linux version 127.0.1-1~progress7.99u1. (diff)
downloadfirefox-ac8d05af898765571f7f7db4b8bfc8b73907652d.tar.xz
firefox-ac8d05af898765571f7f7db4b8bfc8b73907652d.zip
Merging upstream version 127.0.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/extensions/webcompat/injections')
-rw-r--r--browser/extensions/webcompat/injections/css/bug1882040-disable-pull-to-refresh.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/browser/extensions/webcompat/injections/css/bug1882040-disable-pull-to-refresh.css b/browser/extensions/webcompat/injections/css/bug1882040-disable-pull-to-refresh.css
new file mode 100644
index 0000000000..b075f96212
--- /dev/null
+++ b/browser/extensions/webcompat/injections/css/bug1882040-disable-pull-to-refresh.css
@@ -0,0 +1,14 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+/**
+ * m.youtube.com/shorts - pull-to-refresh breaks scrolling
+ * Bug #1882040 - https://bugzilla.mozilla.org/show_bug.cgi?id=1882040
+ *
+ * Pull-to-refresh is breaking scrolling on the YouTube Shorts mobile page.
+ * The easiest work-around is to inject this CSS to disable it for now.
+ */
+html {
+ overscroll-behavior: contain;
+}