瀏覽代碼

Merge pull request #2597 from ellisonbg/output-scroll

Only allow output to scroll if a cell is active
S. Chris Colbert 7 年之前
父節點
當前提交
325e607c45
共有 1 個文件被更改,包括 4 次插入0 次删除
  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