Changed chat behaviour
added recoil value isMobile to determine which chat to display and style. #1978 changed the player to actually span across the viewport without the black borders around it.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
position: sticky;
|
||||
top: var(--header-h);
|
||||
display: block;
|
||||
height: calc(100vh - var(--header-h));
|
||||
max-height: calc(100vh - var(--header-h));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@ export default function Sidebar() {
|
||||
usernameToHighlight={chatDisplayName}
|
||||
chatUserId={chatUserId}
|
||||
isModerator={false}
|
||||
isMobile={false}
|
||||
/>
|
||||
<ChatTextField />
|
||||
</Sider>
|
||||
|
||||
Reference in New Issue
Block a user