From 60e78fc4280f5d821c274e0a514d47bd21132890 Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 21 Feb 2015 10:57:50 +0000 Subject: [PATCH] fix script dialog layout --- static/js/scriptDialog.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/js/scriptDialog.js b/static/js/scriptDialog.js index 18aed208a..53c0ad9fa 100644 --- a/static/js/scriptDialog.js +++ b/static/js/scriptDialog.js @@ -7,14 +7,14 @@ pandora.ui.scriptDialog = function() { var dialogHeight = Math.round((window.innerHeight - 48) * 0.75), dialogWidth = Math.round(window.innerWidth * 0.75), $text = Ox.$('
') - .css({height: '32px', margin: '16px'}) + .css({height: '16px', margin: '16px'}) .html(Ox._( - 'Any JavaScript you paste here will run on load.
' + 'Any JavaScript you paste here will run on load. ' + 'If you ever need to bypass it, ' + 'press escape while the page is loading.' )), $input = Ox.Input({ - height: dialogHeight - 32, + height: dialogHeight - 64, type: 'textarea', value: pandora.user.script || '', width: dialogWidth - 32 @@ -59,7 +59,7 @@ pandora.ui.scriptDialog = function() { dialogHeight = data.height; dialogWidth = data.width; $input.options({ - height: dialogHeight - 32, + height: dialogHeight - 64, width: dialogWidth - 32 }); }