Skip to content
This repository was archived by the owner on Nov 24, 2020. It is now read-only.
This repository was archived by the owner on Nov 24, 2020. It is now read-only.

Print broken #31

Description

@akshayrawat

For example if you try to print a webpage:
https://gitbookio.gitbooks.io/javascript/content/functions/higher_order.html

  • The sidebar occupies most of the space.
  • The full height of the web page does not get printed. It truncates after a certain height.

Both of these weren't issues with the previous default theme - https://toolchain.gitbook.com/plugins/

Activity

  1. mjrussell commented on May 5, 2017

    @mjrussell

    I know this is super old, but I fixed this by adding the following style to my page (in the header):

    <style type="text/css" media="print">
     .book-body {
       left: 0 !important;
       -webkit-transform: none !important;
       -moz-transform: none !important;
       -ms-transform: none !important;
       -o-transform: none !important;
       transform: none !important;
       overflow-y: visible !important;
      }
      .body-inner {
       overflow-y: visible !important;
      }
      .book-summary
      {
        display: none;
      }
    </style>
  2. kiwi0fruit commented on Jul 3, 2018

    @kiwi0fruit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions