diff --git a/app/components/clientsideonly/jitsibroadcaster.js b/app/components/clientsideonly/jitsibroadcaster.js index 606fa4e9..8166322b 100644 --- a/app/components/clientsideonly/jitsibroadcaster.js +++ b/app/components/clientsideonly/jitsibroadcaster.js @@ -25,7 +25,7 @@ const JitsiMeeting = dynamic( const rtmp = process.env.NEXT_PUBLIC_ROCKET_CHAT_GREENROOM_RTMP; -const Jitsibroadcaster = ({ room, disName, rtmpSrc, handleChat }) => { +const Jitsibroadcaster = ({ room, disName, rtmpSrc, handleChat, showLogs }) => { const apiRef = useRef(); const [logItems, updateLog] = useState([]); const [knockingParticipants, updateKnockingParticipants] = useState([]); @@ -410,7 +410,8 @@ const Jitsibroadcaster = ({ room, disName, rtmpSrc, handleChat }) => { {item} )); - + + const renderSpinner = () => (
{ {toggleView()}
{toolButton()} -
{renderLog()}
+ {showLogs &&
{renderLog()}
} ); }; diff --git a/app/pages/virtualconf/greenroom/index.js b/app/pages/virtualconf/greenroom/index.js index 0143409d..7995afbb 100644 --- a/app/pages/virtualconf/greenroom/index.js +++ b/app/pages/virtualconf/greenroom/index.js @@ -1,6 +1,6 @@ import { useState } from "react"; import Head from "next/head"; -import styles from "../../../styles/Mainstage.module.css"; +import styles from "../../../styles/Greenroom.module.css"; import { Container, Row, Col } from "react-bootstrap"; import Jitsibroadcaster from "../../../components/clientsideonly/jitsibroadcaster"; import InAppChat from "../../../components/inappchat/inappchat"; @@ -29,6 +29,7 @@ const Greenroom = () => { room={"GSOC Alumnus Meet"} disName={"Speaker"} handleChat={handleOpenChat} + showLogs={false} /> {openChat && ( diff --git a/app/styles/Greenroom.module.css b/app/styles/Greenroom.module.css index b1182244..bd951db1 100644 --- a/app/styles/Greenroom.module.css +++ b/app/styles/Greenroom.module.css @@ -2,6 +2,8 @@ .main { font-family: "Roboto", sans-serif; + min-height: 90vh; + max-height: fit-content; } .topNav {