summaryrefslogtreecommitdiff
path: root/js/options
diff options
context:
space:
mode:
Diffstat (limited to 'js/options')
-rw-r--r--js/options/user-css.js2
-rw-r--r--js/options/user-js.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/options/user-css.js b/js/options/user-css.js
index 840bcd1f..fed91ab3 100644
--- a/js/options/user-css.js
+++ b/js/options/user-css.js
@@ -17,7 +17,7 @@ var textarea = $("<textarea></textarea>").css({
"font-size": 12,
position: "absolute",
top: 35, bottom: 35,
- width: "calc(100% - 12px)", margin: 0, padding: 0, border: "1px solid black",
+ width: "calc(100% - 20px)", margin: 0, padding: "4px", border: "1px solid black",
left: 5, right: 5
}).appendTo(tab.content);
var submit = $("<input type='button' value='"+_("Update custom CSS")+"'>").css({
diff --git a/js/options/user-js.js b/js/options/user-js.js
index 0b7d140f..0ba9b1d0 100644
--- a/js/options/user-js.js
+++ b/js/options/user-js.js
@@ -17,7 +17,7 @@ var textarea = $("<textarea></textarea>").css({
"font-size": 12,
position: "absolute",
top: 35, bottom: 35,
- width: "calc(100% - 12px)", margin: 0, padding: 0, border: "1px solid black",
+ width: "calc(100% - 20px)", margin: 0, padding: "4px", border: "1px solid black",
left: 5, right: 5
}).appendTo(tab.content);
var submit = $("<input type='button' value='"+_("Update custom Javascript")+"'>").css({