From 154e5343c5d81645691c063fdbc75ff3f056cd9b Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 21 Feb 2015 11:04:24 +0000 Subject: [PATCH] update script dialog css --- static/js/scriptDialog.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/static/js/scriptDialog.js b/static/js/scriptDialog.js index 53c0ad9fa..a7c59476a 100644 --- a/static/js/scriptDialog.js +++ b/static/js/scriptDialog.js @@ -7,7 +7,12 @@ pandora.ui.scriptDialog = function() { var dialogHeight = Math.round((window.innerHeight - 48) * 0.75), dialogWidth = Math.round(window.innerWidth * 0.75), $text = Ox.$('
') - .css({height: '16px', margin: '16px'}) + .css({ + height: '16px', + margin: '16px', + overflow: 'hidden', + textOverflow: 'ellipsis' + }) .html(Ox._( 'Any JavaScript you paste here will run on load. ' + 'If you ever need to bypass it, '