/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/*
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.p-mod-override-cursor .jp-PDFContainer {
  position: relative;
}

body.p-mod-override-cursor .jp-PDFContainer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}

.jp-PDFViewer {
  width: 100%;
  height: 100%;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

.jp-Notebook .jp-Cell .jp-OutputArea .jp-PDFViewer {
  min-height: 500px;
}

/*
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.p-mod-override-cursor .jp-PDFContainer {
  position: relative;
}

body.p-mod-override-cursor .jp-PDFContainer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}

.jp-PDFViewer {
  width: 100%;
  height: 100%;
}

Enforce large-ish min-height for embedded pdfs in notebook outputs.
Enforce large-ish min-height for embedded pdfs in notebook outputs.
