From 714b006da991edb139b8222a0765cb3371c0c062 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 22 Sep 2014 08:24:19 -0700 Subject: [PATCH] nmbug.js: Add 10em left/right margins to the dialog This avoids overlapping with Gmane's left-side navigation elements (Home, Reading, Searching, ...). --- nmbug.js | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.26.2