Skip to content

Commit 8c0610e

Browse files
committed
wee
1 parent 854184a commit 8c0610e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎v3/js/pytutor.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ ExecutionVisualizer.prototype.render = function() {
514514
this.domRoot.find('#codeDisplayDiv').width(this.params.codeDivWidth);
515515
// it will propagate to the slider
516516

517-
this.domRoot.find("#pyStdout").css("width", this.params.codeDivWidth);
517+
this.domRoot.find("#pyStdout").css("width", this.params.codeDivWidth - 20 /* wee tweaks */);
518518
}
519519

520520
// enable left-right draggable pane resizer (originally from David Pritchard)
@@ -523,7 +523,7 @@ ExecutionVisualizer.prototype.render = function() {
523523
minWidth: 100, //otherwise looks really goofy
524524
resize: function(event, ui) { // old name: syncStdoutWidth, now not appropriate
525525
// resize stdout box in unison
526-
myViz.domRoot.find("#pyStdout").css("width", $(this).width());
526+
myViz.domRoot.find("#pyStdout").css("width", $(this).width() - 20 /* wee tweaks */);
527527

528528
myViz.domRoot.find("#codeDisplayDiv").css("height", "auto"); // redetermine height if necessary
529529
if (myViz.params.updateOutputCallback) // report size change

0 commit comments

Comments
 (0)