index.css 810 B

1234567891011121314151617181920212223242526272829303132
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) Jupyter Development Team.
  3. | Distributed under the terms of the Modified BSD License.
  4. |----------------------------------------------------------------------------*/
  5. .jp-Notebook .jp-Cell .jp-OutputArea .jp-PDFViewer {
  6. min-height: 500px;
  7. }
  8. /*
  9. When drag events occur, `p-mod-override-cursor` is added to the body.
  10. This reuses the same CSS selector logic as jp-IFrame to prevent embedded
  11. PDFs from swallowing cursor events.
  12. */
  13. body.p-mod-override-cursor .jp-PDFContainer {
  14. position: relative;
  15. }
  16. body.p-mod-override-cursor .jp-PDFContainer:before {
  17. content: '';
  18. position: absolute;
  19. top: 0;
  20. left: 0;
  21. right: 0;
  22. bottom: 0;
  23. background: transparent;
  24. }
  25. .jp-PDFViewer {
  26. width: 100%;
  27. height: 100%;
  28. }