/*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ .jp-PDFContainer iframe { position: absolute; z-index: 0; top: 0; right: 0; width: 100%; height: 100%; } .jp-OutputArea .jp-PDFContainer { min-height: 512px; } /* When drag events occur, `p-mod-override-cursor` is added to the body. This reuses the same CSS selector logic as jp-IFrame to prevent embedded PDFs from swallowing cursor events. */ body.lm-mod-override-cursor .jp-PDFContainer { position: relative; } body.lm-mod-override-cursor .jp-PDFContainer:before { content: ''; position: absolute; z-index: 10; top: 0; left: 0; right: 0; bottom: 0; background: transparent; }