Skip to content

Commit

Permalink
Style
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Jan 3, 2025
1 parent 8c54a50 commit 1ea46ec
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
6 changes: 4 additions & 2 deletions devtools/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ const App: React.FC = () => {
<ConnectButton />
<DisconnectButton />
</p>
<p>
<div style={{ float: 'left' }}>
<LocalVideo />
</div>
<div style={{ float: 'left', marginLeft: '20px' }}>
<RemoteVideo />
</p>
</div>
</>
)
}
Expand Down
9 changes: 8 additions & 1 deletion devtools/src/components/LocalVideo.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
import type React from 'react'

const LocalVideo: React.FC = () => {
return <video autoPlay muted playsInline />
return (
<video
autoPlay
muted
playsInline
style={{ width: '400px', height: '300px', border: '1px solid rgb(0, 0, 255)' }}
/>
)
}

export default LocalVideo
9 changes: 8 additions & 1 deletion devtools/src/components/RemoteVideo.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
import type React from 'react'

const RemoteVideo: React.FC = () => {
return <video autoPlay muted playsInline />
return (
<video
autoPlay
muted
playsInline
style={{ width: '400px', height: '300px', border: '1px solid rgb(255, 0, 0)' }}
/>
)
}

export default RemoteVideo

0 comments on commit 1ea46ec

Please sign in to comment.