From a3dc204b21d52b6efe990ec8b0bf32a5a354ad9a Mon Sep 17 00:00:00 2001
From: Cx330 <1487537121@qq.com>
Date: Sun, 6 Apr 2025 22:15:36 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=81=8A=E5=A4=A9=E6=A1=86?=
=?UTF-8?q?=E5=BC=B9=E5=87=BAbug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
css/chat.css | 2 ++
index.html | 8 ++++---
javascape/chat.js | 60 ++++++++++++++++++++++++++++-------------------
3 files changed, 43 insertions(+), 27 deletions(-)
diff --git a/css/chat.css b/css/chat.css
index 616e0e3..968a4ff 100644
--- a/css/chat.css
+++ b/css/chat.css
@@ -13,6 +13,7 @@
.chat-box {
width: 90%;
+ min-height: 20px;
max-height: 50vh;
overflow-y: auto;
background: #f5f5f5;
@@ -21,6 +22,7 @@
border-radius: 8px;
position: relative;
z-index: 10;
+ display: none;
}
.chat-box.show {
diff --git a/index.html b/index.html
index 75eff51..4bf536c 100644
--- a/index.html
+++ b/index.html
@@ -53,10 +53,12 @@
-
-
+
+
+
-
+