mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
Container classes should default with 'vbox' css
This commit is contained in:
parent
2b7310f794
commit
1ddceb3844
@ -19,7 +19,8 @@ define(["notebook/js/widgets/widget"], function(WidgetManager) {
|
||||
var ContainerView = IPython.DOMWidgetView.extend({
|
||||
render: function(){
|
||||
// Called when view is rendered.
|
||||
this.$el.addClass('widget-container');
|
||||
this.$el.addClass('widget-container')
|
||||
.addClass('vbox');
|
||||
this.children={};
|
||||
this.update_children([], this.model.get('_children'));
|
||||
this.model.on('change:_children', function(model, value, options) {
|
||||
@ -134,6 +135,7 @@ define(["notebook/js/widgets/widget"], function(WidgetManager) {
|
||||
.addClass('modal-body')
|
||||
.addClass('widget-modal-body')
|
||||
.addClass('widget-container')
|
||||
.addClass('vbox')
|
||||
.appendTo(this.$window);
|
||||
|
||||
this.$show_button = $('<button />')
|
||||
|
Loading…
Reference in New Issue
Block a user