From a37f469f65ea2daa23c597f9a8e01379b39e0ec6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A7=89?= Date: Sat, 21 Oct 2023 20:55:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E6=BB=9A=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/chat.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/chat.js b/src/chat.js index 34fa87d..6a24cde 100644 --- a/src/chat.js +++ b/src/chat.js @@ -101,6 +101,12 @@ export default class Chat { document.body.appendChild(this.element) document.head.appendChild(createElement({ innerText: ` + ul.chat-list::-webkit-scrollbar { + display: none; + } + ul.chat-list { + scrollbar-width: none; + } ul.chat-list { max-height: 70vh; overflow-y: auto;