From: W. Trevor King Date: Mon, 22 Sep 2014 15:24:19 +0000 (-0700) Subject: nmbug.js: Add 10em left/right margins to the dialog X-Git-Tag: v0.1.0~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=714b006da991edb139b8222a0765cb3371c0c062;p=nmhive.git nmbug.js: Add 10em left/right margins to the dialog This avoids overlapping with Gmane's left-side navigation elements (Home, Reading, Searching, ...). --- diff --git a/nmbug.js b/nmbug.js index f2640a6..78b51dc 100644 --- a/nmbug.js +++ b/nmbug.js @@ -105,6 +105,8 @@ nmbug = { dialog.style.border = '1px solid rgba(0, 0, 0, 0.3)'; dialog.style.borderRadius = '6px'; dialog.style.boxShadow = '0 3px 7px rgba(0, 0, 0, 0.3)'; + dialog.style.marginLeft = '10em'; + dialog.style.marginRight = '10em'; var content = frame.document.createElement('p'); content.innerHTML = 'Edit tags for ' + message_id;