tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

bug1886293-futurePLC-sites-trending_scrollbars.css (1018B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 /**
      6 * Sites maintained by Future PLC
      7 * Bug #1886285 - https://bugzilla.mozilla.org/show_bug.cgi?id=1886285
      8 * - androidcentral.com
      9 * - creativebloq.com
     10 * - cyclingnews.com
     11 * - gamesradar.com
     12 * - imore.com
     13 * - itpro.com
     14 * - laptopmag.com
     15 * - livescience.com
     16 * - loudersound.com
     17 * - musicradar.com
     18 * - pcgamer.com
     19 * - space.com
     20 * - techradar.com
     21 * - tomshardware.com
     22 * - windowscentral.com
     23 *
     24 * They are using ::webkit-scrollbar to style their "trending" lists,
     25 * which results in the wrong colors being applied and sometimes for the
     26 * bottom of the text in the list being covered by the scrollbar. Adding
     27 * the standard CSS equivalents fixes this.
     28 */
     29 
     30 .trending__list {
     31  scrollbar-width: thin;
     32  scrollbar-color: var(--trending-scrollbar-color) var(--trending-scrollbar-background-color);
     33 }