Add resize handle to chat (#3157)

* add resize handle to chat

* Add chat resize functionality

* window resize only causes chat resize on desktop

* fix parseFloat invocation

* desktop is optional attribute of ChatContainer

---------

Co-authored-by: janWilejan <>
This commit is contained in:
janWilejan
2023-07-11 06:00:28 +00:00
committed by GitHub
parent c92f58df2e
commit 3f4887020d
5 changed files with 50 additions and 7 deletions

View File

@@ -5,11 +5,6 @@
flex-direction: row;
overflow: hidden;
height: 100%;
// I'm not quite sure why, but sass ignores `#chat-container` here
[id="chat-container"] {
width: var(--chat-col-width);
}
}
.mainColumn {

View File

@@ -321,6 +321,7 @@ export const Content: FC = () => {
isModerator={currentUser.isModerator}
chatAvailable={isChatAvailable}
showInput={!!currentUser}
desktop
/>
)}
{externalActionToDisplay && (