Browse Source

MarkdownWidgets should be able to scroll.

Ryan Grout 8 years ago
parent
commit
3a573234a0
2 changed files with 9 additions and 0 deletions
  1. 2 0
      src/markdownwidget/plugin.ts
  2. 7 0
      src/markdownwidget/theme.css

+ 2 - 0
src/markdownwidget/plugin.ts

@@ -13,6 +13,8 @@ import {
   MarkdownWidgetFactory
 } from './widget';
 
+import './theme.css';
+
 /**
  * The class name for all main area portrait tab icons.
  */

+ 7 - 0
src/markdownwidget/theme.css

@@ -0,0 +1,7 @@
+/*-----------------------------------------------------------------------------
+| Copyright (c) Jupyter Development Team.
+| Distributed under the terms of the Modified BSD License.
+|----------------------------------------------------------------------------*/
+.jp-MarkdownWidget {
+  overflow: auto;
+}