From 12bac7bde4b1c1e40856244211f82e3c2a7d7a13 2014-02-03 23:15:38 From: Thomas Kluyver Date: 2014-02-03 23:15:38 Subject: [PATCH] Merge pull request #5010 from jdfreder/widget-ff Fixes for widget alignment in FF --- diff --git a/IPython/html/static/notebook/js/widgets/widget_container.js b/IPython/html/static/notebook/js/widgets/widget_container.js index 270b150..8c7e172 100644 --- a/IPython/html/static/notebook/js/widgets/widget_container.js +++ b/IPython/html/static/notebook/js/widgets/widget_container.js @@ -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 = $('