Skip to content

Commit

Permalink
fix(PairActivity): video container layout (#141)
Browse files Browse the repository at this point in the history
Co-authored-by: Cameron Clough <[email protected]>
  • Loading branch information
mikhailmtion and incognitojam authored Jan 31, 2025
1 parent d3efeb7 commit f2393ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/dashboard/activities/PairActivity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ const PairActivity: VoidComponent = () => {
})

return (
<div id="video-container" class="absolute size-full overflow-hidden bg-black text-white">
<video class="left-1/2 top-1/2 h-full min-w-full -translate-x-1/2 -translate-y-1/2 object-cover" ref={videoRef!} />
<div id="video-container" class="fixed inset-0 bg-black text-white">
<video class="absolute inset-0 size-full object-cover" ref={videoRef!} />
<div class="prose absolute inset-0 flex flex-col justify-between pb-7">
<TopAppBar trailing={<IconButton href="/">close</IconButton>}>
Add new device
Expand Down

0 comments on commit f2393ab

Please sign in to comment.