1

When I embed a long gist (in this case of a Jupyter Notebook), the resulting box on my website has vertical scrollbars. I'd like to avoid these scrollbars and just have a longer page (in the same way it's on the actual gist website). Is there any way to do this, with CSS or otherwise?

I'm basically looking for the exact opposite to Make Gist embed scrollable

Note that specifying a minimum height in CSS does not work: It produces a white box of the correct size, but the content is still scrolling in the top part of that box only

Community
  • 1
  • 1
Michael Goerz
  • 4,300
  • 3
  • 23
  • 31

1 Answers1

1

As I can check, the embed code inserts an iframe and there is no simply way to detect the height of that document (cross-domain).

This might help: Resize Cross Domain Iframe Height

But keep in mind that the workarounds are overkill, I think.

Community
  • 1
  • 1
nikoskip
  • 1,860
  • 1
  • 21
  • 38
  • That looks like overkill, indeed. I wish github would support passing some options to their embed script (like `scrolling="no"`) – Michael Goerz Jan 24 '17 at 19:24