From 6f8ed103aeefadb411c4c2a797ebdd54bcacc331 Mon Sep 17 00:00:00 2001
From: Arcturus
Date: Wed, 11 Dec 2024 15:26:39 +0900
Subject: [PATCH] [bugfix] edit document form empty and comment edit form to
multiline
---
view_comment.skin.php | 19 ++++++++-----------
write.php | 10 ----------
write.skin.php | 8 ++------
3 files changed, 10 insertions(+), 27 deletions(-)
diff --git a/view_comment.skin.php b/view_comment.skin.php
index 69af175..bf056a9 100644
--- a/view_comment.skin.php
+++ b/view_comment.skin.php
@@ -1,4 +1,4 @@
-
@@ -93,19 +93,16 @@ if (!defined("_GNUBOARD_"))
-
- ">
+
-
+
뒤로
@@ -90,6 +86,6 @@ echo $option_hidden;
document.getElementById("content").addEventListener("input", function() {
this.style.height = 'auto';
- this.style.height = this.scrollHeight + 'px';
+ this.style.height = `calc(${this.scrollHeight}px + 0.25em)`;
});