Add 20px more width to the editor/cli

This commit is contained in:
Julian Viereck 2011-05-16 20:11:57 +02:00
commit 56619e516b
2 changed files with 4 additions and 4 deletions

View file

@ -337,7 +337,7 @@ exports.launch = function(env) {
} }
function onResize() { function onResize() {
var width = (document.documentElement.clientWidth - 300); var width = (document.documentElement.clientWidth - 280);
container.style.width = width + "px"; container.style.width = width + "px";
cockpitInput.style.width = width + "px"; cockpitInput.style.width = width + "px";
container.style.height = (document.documentElement.clientHeight - 22) + "px"; container.style.height = (document.documentElement.clientHeight - 22) + "px";

View file

@ -24,7 +24,7 @@ body {
#editor { #editor {
position: absolute; position: absolute;
top: 0px; top: 0px;
left: 300px; left: 280px;
bottom: 0px; bottom: 0px;
right: 0px; right: 0px;
background: white; background: white;
@ -44,7 +44,7 @@ body {
#cockpitInput { #cockpitInput {
position: absolute; position: absolute;
left: 300px; left: 280px;
right: 0px; right: 0px;
bottom: 0; bottom: 0;