Skip to content

Commit

Permalink
Fix bug in iframe display for grid columns
Browse files Browse the repository at this point in the history
  • Loading branch information
christabor committed May 4, 2017
1 parent 709a26a commit f359c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_jsondash/static/js/handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ jsondash.handlers.handleIframe = function(container, config) {
border: 0,
src: config.dataSource,
height: config.height - jsondash.config.WIDGET_MARGIN_Y,
width: config.width - jsondash.config.WIDGET_MARGIN_X
width: isNaN(config.width) ? '100%' : config.width - jsondash.config.WIDGET_MARGIN_X
});
// Look for callbacks potentially registered for third party code.
jsondash.api.runCallbacks(container, config);
Expand Down

0 comments on commit f359c92

Please sign in to comment.