Skip to content

Commit

Permalink
#7274 fix lab missing FoldoutModel
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariusz Jurowicz committed May 14, 2018
1 parent 38aa83a commit 06bb226
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/lab/src/plugin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class BeakerxExtension implements DocumentRegistry.WidgetExtension {
registerGlobal();
let app = this.app;
let settings = this.settings;
Promise.all([panel.ready, context.ready]).then(function() {
Promise.all([panel.ready, panel.session.ready, context.ready]).then(function() {
enableInitializationCellsFeature(panel);
registerCommentOutCmd(panel);
registerCommTargets(panel, context);
Expand Down
3 changes: 2 additions & 1 deletion js/notebook/src/embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ var loadedModules = [
require("./SparkUI").default,
require("./SparkStateProgress").default,
require("./HTMLPre").default,
require("./BxHTML").default
require("./BxHTML").default,
require("./Foldout").default
];

for (var i in loadedModules) {
Expand Down
3 changes: 2 additions & 1 deletion js/notebook/src/shared/style/beakerx.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ $focusColor: #66bb6a;
display: block;

& > .widget-label {
display: block;
cursor: pointer;
text-align: left;
line-height: normal;
Expand Down Expand Up @@ -105,7 +106,7 @@ $focusColor: #66bb6a;

.widget-html-content {
font-size: 14px;
line-height: 1.2em;
line-height: 1.3em;
padding: 1em 2.2em;
border: 1px solid #ababab;
border-top: 0;
Expand Down

0 comments on commit 06bb226

Please sign in to comment.