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

Print broken #31

Open
akshayrawat opened this issue Sep 23, 2016 · 2 comments
Open

Print broken #31

akshayrawat opened this issue Sep 23, 2016 · 2 comments

Comments

@akshayrawat
Copy link

akshayrawat commented Sep 23, 2016

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/

@mjrussell
Copy link

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>

@kiwi0fruit
Copy link

GitbookIO/gitbook#2082

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants