Skip to content

Commit 1327fa1

Browse files
committed
edited inline style
1 parent cd5c78f commit 1327fa1

File tree

1 file changed

+32
-3
lines changed

1 file changed

+32
-3
lines changed

lib/src/components/VideoCall.tsx

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,20 @@ const VideoCall = ({ URL, mediaOptions }: { URL: string, mediaOptions: { control
445445
className=''
446446
data-testid='submit-username-btn'
447447
onClick={() => handleUsername()}
448-
style={buttonStyling}
448+
// style={ buttonStyling }
449+
style={{
450+
backgroundColor: '#C2FBD7',
451+
borderRadius: '50px',
452+
borderWidth: '0',
453+
boxShadow: 'rgba(0, 0, 0, 0.15) 0px 2px 8px',
454+
color: '#008000',
455+
cursor: 'pointer',
456+
display: 'inline-block',
457+
fontFamily: 'Arial, Helvetica, sans-serif',
458+
fontSize: '1em',
459+
height: '50px',
460+
padding: '0 25px',
461+
}}
449462
>
450463
Submit Username
451464
</button>
@@ -456,7 +469,10 @@ const VideoCall = ({ URL, mediaOptions }: { URL: string, mediaOptions: { control
456469

457470
<div
458471
className='users-list'
459-
style={{ fontFamily: 'Arial, Helvetica, sans-serif', fontSize: '16px' }}
472+
style={{
473+
fontFamily: 'Arial, Helvetica, sans-serif',
474+
fontSize: '16px'
475+
}}
460476
>
461477
Users connected: {users}
462478
</div>
@@ -506,7 +522,20 @@ const VideoCall = ({ URL, mediaOptions }: { URL: string, mediaOptions: { control
506522
className='share-btn'
507523
data-testid='share-screen-btn'
508524
onClick={() => shareScreen()}
509-
style={buttonStyling}
525+
// style={buttonStyling}
526+
style={{
527+
backgroundColor: '#C2FBD7',
528+
borderRadius: '50px',
529+
borderWidth: '0',
530+
boxShadow: 'rgba(0, 0, 0, 0.15) 0px 2px 8px',
531+
color: '#008000',
532+
cursor: 'pointer',
533+
display: 'inline-block',
534+
fontFamily: 'Arial, Helvetica, sans-serif',
535+
fontSize: '1em',
536+
height: '50px',
537+
padding: '0 25px',
538+
}}
510539
>
511540
Share Screen
512541
</button>

0 commit comments

Comments
 (0)