feat(chat): Make chat panel resizeable

This commit is contained in:
Hristo Terezov
2025-05-05 16:47:38 -05:00
parent 8157e528c3
commit 0ee2378ff0
33 changed files with 776 additions and 318 deletions

View File

@@ -478,9 +478,11 @@ export default class LargeVideoManager {
if (isOpen && window.innerWidth > 580) {
/**
* If chat state is open, we re-compute the container width
* by subtracting the default width of the chat.
* by subtracting the chat width, which may be resized by the user.
*/
widthToUse -= CHAT_SIZE;
const chatWidth = state['features/chat'].width?.current ?? CHAT_SIZE;
widthToUse -= chatWidth;
}
if (resizableFilmstrip && visible && filmstripWidth.current >= FILMSTRIP_BREAKPOINT) {