summaryrefslogtreecommitdiffstats
path: root/browser/extensions/webcompat/injections/css/bug1877346-offerup.com-infinite-scroll-fix.css
diff options
context:
space:
mode:
Diffstat (limited to 'browser/extensions/webcompat/injections/css/bug1877346-offerup.com-infinite-scroll-fix.css')
-rw-r--r--browser/extensions/webcompat/injections/css/bug1877346-offerup.com-infinite-scroll-fix.css20
1 files changed, 20 insertions, 0 deletions
diff --git a/browser/extensions/webcompat/injections/css/bug1877346-offerup.com-infinite-scroll-fix.css b/browser/extensions/webcompat/injections/css/bug1877346-offerup.com-infinite-scroll-fix.css
new file mode 100644
index 0000000000..24681686f4
--- /dev/null
+++ b/browser/extensions/webcompat/injections/css/bug1877346-offerup.com-infinite-scroll-fix.css
@@ -0,0 +1,20 @@
+/* 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/. */
+
+/**
+ * offerup.com - Infinite scroll doesn't work
+ * Bug #1720060 - https://bugzilla.mozilla.org/show_bug.cgi?id=1720060
+ *
+ * The site uses IntersectionObserver to show new items on the page,
+ * as the page being scrolled and it doesn't work with with
+ * Dynamic Toolbar enabled. Adding an empty element after the content
+ * to make up for the height of the dynamic toolbar makes it work.
+ */
+
+#__next::after {
+ display: block;
+ width: 100%;
+ height: 10px;
+ content: "";
+}