fixes #1628
Setting height any higher then 95% creates scrollbars in chrome.
This commit is contained in:
@@ -296,8 +296,8 @@ Danbooru.Note = {
|
|||||||
|
|
||||||
$textarea = $('<textarea></textarea>');
|
$textarea = $('<textarea></textarea>');
|
||||||
$textarea.css({
|
$textarea.css({
|
||||||
width: "95%",
|
width: "97%",
|
||||||
height: "10em"
|
height: "95%"
|
||||||
});
|
});
|
||||||
|
|
||||||
if ($note_body.html() !== "<em>Click to edit</em>") {
|
if ($note_body.html() !== "<em>Click to edit</em>") {
|
||||||
@@ -309,6 +309,7 @@ Danbooru.Note = {
|
|||||||
$dialog.data("id", $note_body.data("id"));
|
$dialog.data("id", $note_body.data("id"));
|
||||||
$dialog.dialog({
|
$dialog.dialog({
|
||||||
width: 360,
|
width: 360,
|
||||||
|
height: 210,
|
||||||
dialogClass: "note-edit-dialog",
|
dialogClass: "note-edit-dialog",
|
||||||
title: "Edit note",
|
title: "Edit note",
|
||||||
buttons: {
|
buttons: {
|
||||||
|
|||||||
Reference in New Issue
Block a user