From 93debfa663aee315a735391e6c9ac030b89d5a61 Mon Sep 17 00:00:00 2001 From: Lightforger Date: Fri, 17 May 2013 17:31:32 +0200 Subject: [PATCH] fixes #1628 Setting height any higher then 95% creates scrollbars in chrome. --- app/assets/javascripts/notes.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js index 841f220b4..7551879d2 100644 --- a/app/assets/javascripts/notes.js +++ b/app/assets/javascripts/notes.js @@ -296,8 +296,8 @@ Danbooru.Note = { $textarea = $(''); $textarea.css({ - width: "95%", - height: "10em" + width: "97%", + height: "95%" }); if ($note_body.html() !== "Click to edit") { @@ -309,6 +309,7 @@ Danbooru.Note = { $dialog.data("id", $note_body.data("id")); $dialog.dialog({ width: 360, + height: 210, dialogClass: "note-edit-dialog", title: "Edit note", buttons: {