diff --git a/public/javascripts/terminal.js b/public/javascripts/terminal.js index 4354ee7..7223714 100644 --- a/public/javascripts/terminal.js +++ b/public/javascripts/terminal.js @@ -16,7 +16,7 @@ SP.Terminal.prototype = { var container = $(".player .term"); this.element = container; this.renderLine(0); // we only need 1 line - this.element.css({ height: this.element.height() * this.lines }); + this.element.css({ width: this.element.width(), height: this.element.height() * this.lines }); }, getLine: function(n) { diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index 6379e02..ab0196e 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -94,7 +94,7 @@ h2 { } .term { - padding: 0px; + padding: 2px; margin: 0px; display: block; font-family: 'Droid Sans Mono', Monospace;