@@ -403,23 +403,42 @@ const VideoCall = ({ URL, mediaOptions }: { URL: string, mediaOptions: { control
403
403
404
404
< div
405
405
className = ''
406
- style = { { display : 'flex' , justifyContent : 'space-around' , flexDirection :'column' , padding :'10px' , marginTop : '10%' } }
406
+ style = { {
407
+ display : 'flex' ,
408
+ flexDirection :'column' ,
409
+ justifyContent : 'space-around' ,
410
+ marginTop : '10%' ,
411
+ padding :'10px' ,
412
+ } }
407
413
>
408
414
409
415
{
410
416
username === '' ?
411
417
< >
412
418
< div
413
419
className = 'input-div'
414
- style = { { display : 'flex' , flexDirection :'column' , top : '2%' , left : '2%' , margin : '0 auto' , height : '100px' , width : '100px' , justifyContent : 'center' , alignItems : 'center' } }
420
+ style = { {
421
+ alignItems : 'center' ,
422
+ display : 'flex' ,
423
+ flexDirection :'column' ,
424
+ height : '100px' ,
425
+ justifyContent : 'center' ,
426
+ left : '2%' ,
427
+ margin : '0 auto' ,
428
+ top : '2%' ,
429
+ width : '100px'
430
+ } }
415
431
>
416
432
< input
417
433
className = ''
418
434
type = 'text'
419
435
placeholder = 'username'
420
436
id = "username-field"
421
437
onChange = { ( e ) => userField = e . target . value }
422
- style = { { paddingBottom :'40px' , width :'200px' } }
438
+ style = { {
439
+ paddingBottom :'40px' ,
440
+ width :'200px'
441
+ } }
423
442
> </ input >
424
443
425
444
< button
@@ -446,13 +465,24 @@ const VideoCall = ({ URL, mediaOptions }: { URL: string, mediaOptions: { control
446
465
< div
447
466
id = "main-video-container"
448
467
className = ''
449
- style = { { display : 'flex' , flexDirection : 'row' , gap : '100px' , justifyContent :'center' , alignItems :'center' } }
468
+ style = { {
469
+ alignItems :'center' ,
470
+ display : 'flex' ,
471
+ flexDirection : 'row' ,
472
+ gap : '100px' ,
473
+ justifyContent :'center'
474
+ } }
450
475
>
451
476
452
477
< div
453
478
id = "local-video-container"
454
479
className = ''
455
- style = { { display :'flex' , flexDirection :'column' , alignContent : 'center' , justifyContent : 'center' } }
480
+ style = { {
481
+ alignContent : 'center' ,
482
+ display :'flex' ,
483
+ flexDirection :'column' ,
484
+ justifyContent : 'center'
485
+ } }
456
486
>
457
487
458
488
< VideoComponent
@@ -463,7 +493,13 @@ const VideoCall = ({ URL, mediaOptions }: { URL: string, mediaOptions: { control
463
493
< div
464
494
id = "local-button-container"
465
495
className = ''
466
- style = { { display : 'flex' , flexDirection : 'row' , gap : '10px' , justifyContent :'center' , marginTop :'10px' } }
496
+ style = { {
497
+ display : 'flex' ,
498
+ flexDirection : 'row' ,
499
+ gap : '10px' ,
500
+ justifyContent :'center' ,
501
+ marginTop :'10px'
502
+ } }
467
503
>
468
504
469
505
< button
@@ -479,7 +515,11 @@ const VideoCall = ({ URL, mediaOptions }: { URL: string, mediaOptions: { control
479
515
className = 'end-btn'
480
516
data-testid = 'end-call-btn'
481
517
onClick = { ( ) => endCall ( false ) }
482
- style = { { ...buttonStyling , backgroundColor :'#ff6961' , color :'#28282B' } }
518
+ style = { {
519
+ ...buttonStyling ,
520
+ backgroundColor :'#ff6961' ,
521
+ color :'#28282B'
522
+ } }
483
523
>
484
524
End Call
485
525
</ button >
@@ -490,7 +530,12 @@ const VideoCall = ({ URL, mediaOptions }: { URL: string, mediaOptions: { control
490
530
< div
491
531
id = "remote-video-container"
492
532
className = ''
493
- style = { { display :'flex' , flexDirection :'column' , alignContent : 'center' , justifyContent : 'center' } }
533
+ style = { {
534
+ alignContent : 'center' ,
535
+ display :'flex' ,
536
+ flexDirection :'column' ,
537
+ justifyContent : 'center'
538
+ } }
494
539
>
495
540
< VideoComponent
496
541
video = { remoteVideo }
@@ -500,7 +545,13 @@ const VideoCall = ({ URL, mediaOptions }: { URL: string, mediaOptions: { control
500
545
< div
501
546
id = "remote-button-container"
502
547
className = ''
503
- style = { { display : 'flex' , flexDirection : 'row' , gap : '10px' , justifyContent :'center' , marginTop :'10px' } }
548
+ style = { {
549
+ display : 'flex' ,
550
+ flexDirection : 'row' ,
551
+ gap : '10px' ,
552
+ justifyContent :'center' ,
553
+ marginTop :'10px'
554
+ } }
504
555
>
505
556
506
557
< button
@@ -516,7 +567,9 @@ const VideoCall = ({ URL, mediaOptions }: { URL: string, mediaOptions: { control
516
567
className = ''
517
568
type = 'text'
518
569
id = 'receiverName'
519
- style = { { marginLeft :'2%' } } > </ input >
570
+ style = { {
571
+ marginLeft :'2%'
572
+ } } > </ input >
520
573
521
574
</ div >
522
575
</ div >
0 commit comments