tor-browser

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

bug1836105-cnn.com-fix-blank-pages-when-printing.css (637B)


      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 * cnn.com - Printing in portrait mode results in blank pages
      7 * Bug #1836105 - https://bugzilla.mozilla.org/show_bug.cgi?id=1836105
      8 *
      9 * Disable some of CNN's giant styles for height, top and margin-bottom,
     10 * since they break print layout in Firefox (as per bug 1830307)
     11 */
     12 
     13 @media print {
     14  .header__wrapper-outer {
     15    height: initial !important;
     16    top: initial !important;
     17    margin-bottom: initial !important;
     18  }
     19 }