Parcourir la source

Merge pull request #2597 from ellisonbg/output-scroll

Only allow output to scroll if a cell is active
S. Chris Colbert il y a 7 ans
Parent
commit
325e607c45
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      packages/notebook/style/index.css

+ 4 - 0
packages/notebook/style/index.css

@@ -68,6 +68,10 @@
   max-height: 1000px;
 }
 
+.jp-Notebook .jp-Cell:not(.jp-mod-active) .jp-OutputArea {
+  overflow-y: hidden;
+}
+
 
 /*-----------------------------------------------------------------------------
 | Notebook state related styling