Skip to content

Node.js based forum software built for the modern web

fix: closes #14002, add max-height

Barış Soner Uşaklı9c5ffe361ca7
diff --git a/public/src/client/chats.js b/public/src/client/chats.js
index 9c0c7c0ddf..1c943e9889 100644
--- a/public/src/client/chats.js
+++ b/public/src/client/chats.js
@@ -577,9 +577,11 @@ define('forum/chats', [
'z-index': 20000,
flex: 0,
top: 'inherit',
+ 'max-height': '250px',
+ overflow: 'auto',
},
placement: 'top',
- className: `chat-autocomplete-dropdown-${roomId} dropdown-menu textcomplete-dropdown`,
+ className: `chat-autocomplete-dropdown-${roomId} dropdown-menu textcomplete-dropdown ghost-scrollbar`,
...options,
},
};