隐藏滚动条

This commit is contained in:
2023-10-21 20:55:47 +08:00
parent 0756b66792
commit a37f469f65
1 changed files with 6 additions and 0 deletions

View File

@ -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;