diff --git a/src/frontend/src/features/rooms/livekit/prefabs/VideoConference.tsx b/src/frontend/src/features/rooms/livekit/prefabs/VideoConference.tsx index 1b4660e1..907fd4b4 100644 --- a/src/frontend/src/features/rooms/livekit/prefabs/VideoConference.tsx +++ b/src/frontend/src/features/rooms/livekit/prefabs/VideoConference.tsx @@ -30,6 +30,20 @@ import { } from '@livekit/components-react' import { ControlBar } from './ControlBar' +import { styled } from '@/styled-system/jsx' +import { cva } from '@/styled-system/css' + +const LayoutWrapper = styled( + 'div', + cva({ + base: { + position: 'relative', + display: 'flex', + width: '100%', + height: 'calc(100% - var(--lk-control-bar-height))', + }, + }) +) /** * @public @@ -163,30 +177,35 @@ export function VideoConference({ onWidgetChange={widgetUpdate} >
- {!focusTrack ? ( -
- - - -
- ) : ( -
- - + + {!focusTrack ? ( +
+ - - {focusTrack && } - -
- )} + +
+ ) : ( +
+ + + + + {focusTrack && } + +
+ )} + +
- )}