@@ -236,9 +236,9 @@ const CollaborationSpace = () => {
236
236
237
237
return (
238
238
239
- < div style = { { textAlign : 'center' , height : '100vh' , overflow : 'hidden' } } >
239
+ < div style = { { height : '100vh' , overflow : 'hidden' } } >
240
240
{ showAccessDeniedToast ? (
241
- < ToastContainer className = "p-3" position = "top-center" style = { { zIndex : 1 } } >
241
+ < ToastContainer className = "p-3" position = "top-center" style = { { zIndex : 1 , textAlign : 'center' } } >
242
242
< Toast
243
243
onClose = { handleCloseToast }
244
244
show = { showAccessDeniedToast }
@@ -263,19 +263,21 @@ const CollaborationSpace = () => {
263
263
</ Toast >
264
264
) ) }
265
265
</ ToastContainer >
266
- < CollabNavigationBar handleExit = { handleExit } handleCodeRun = { handleCodeRun } users = { users } setLanguage = { setLanguage } language = { language } />
267
- < Container fluid style = { { marginTop : '20px ' , height : 'calc(100vh - 60px)' , display : 'flex' , overflow : 'hidden' } } >
266
+ < CollabNavigationBar handleExit = { handleExit } handleCodeRun = { handleCodeRun } users = { users } setLanguage = { setLanguage } language = { language } userLangChange = { handleLanguageChange } />
267
+ < Container fluid style = { { marginTop : '10px ' , height : 'calc(100vh - 60px)' , display : 'flex' , overflow : 'hidden' } } >
268
268
< Row style = { { flexGrow : 1 , width : '100%' , height : '100%' , overflow : 'hidden' } } >
269
269
< Col md = { 6 } style = { { display : 'flex' , flexDirection : 'column' , height : '100%' , overflow : 'hidden' } } >
270
- < CodeSpace handleEditorChange = { handleEditorChange } loading = { outputLoading } code = { code } language = { language } output = { output } />
270
+ < CodeSpace handleEditorChange = { handleEditorChange } loading = { outputLoading } code = { code } language = { language } output = { output } isError = { isError } />
271
271
</ Col >
272
272
< Col md = { 6 } style = { { display : 'flex' , flexDirection : 'column' , height : '100%' , overflow : 'hidden' } } >
273
- < div style = { { flex : '60%' , display : 'flex' , overflow : 'hidden' } } >
274
- < QuestionDisplay question = { question } />
273
+ < div style = { { flex : '60%' , display : 'flex' , overflow : 'hidden' , width : '100%' } } >
274
+ < QuestionDisplay question = { question } style = { { width : '100%' } } />
275
275
</ div >
276
- < div style = { { flex : '40%' , overflow : 'hidden' } } >
276
+
277
+ < div style = { { flex : '40%' , height :'100%' , marginBottom : '20px' } } >
277
278
< Chat currentUser = { userId } messages = { messages } sendMessage = { sendMessage } />
278
279
</ div >
280
+
279
281
</ Col >
280
282
</ Row >
281
283
</ Container >
0 commit comments