summaryrefslogtreecommitdiffstats
path: root/browser/extensions/webcompat/injections/css/bug1877346-offerup.com-infinite-scroll-fix.css
blob: 24681686f4bfbcb7192e7317ee7c9cb61885d63d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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: "";
}