Browse Source

Merge pull request #796 from afshin/notebook-example

Fix notebook example CSS order, background color.
Steven Silvester 8 năm trước cách đây
mục cha
commit
8bd3bc39b4

+ 1 - 0
examples/notebook/index.css

@@ -4,6 +4,7 @@
 | Distributed under the terms of the Modified BSD License.
 |----------------------------------------------------------------------------*/
 body {
+  background: white;
   margin: 0;
   padding: 0;
 }

+ 0 - 1
examples/notebook/index.html

@@ -6,7 +6,6 @@
     <script type="text/javascript" src="https://www.promisejs.org/polyfills/promise-6.1.0.js"></script>
     <script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML-full,Safe&amp;delayStartupUntil=configured"></script>
     <script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.2.0/require.js"></script>
-    <link href="index.css" rel="stylesheet">
   </head>
   <body>
     <script id='jupyter-config-data' type="application/json">{ "baseUrl": "{{base_url}}" }</script>

+ 1 - 0
examples/notebook/src/index.ts

@@ -61,6 +61,7 @@ import {
 
 import 'jupyterlab/lib/basestyle/index.css';
 import 'jupyterlab/lib/default-theme/index.css';
+import '../index.css';
 
 
 let NOTEBOOK = 'test.ipynb';