From db02f5c1dcea31908cdc9ded75434eef62d00d5f Mon Sep 17 00:00:00 2001 From: Jannis Mattheis Date: Thu, 14 Jul 2022 20:38:32 +0200 Subject: [PATCH] Fix screen getting cut off Fixes #133 --- ui/src/Room.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ui/src/Room.tsx b/ui/src/Room.tsx index ad396fd0..937494a0 100644 --- a/ui/src/Room.tsx +++ b/ui/src/Room.tsx @@ -357,7 +357,8 @@ const useStyles = makeStyles((theme: Theme) => ({ zIndex: 30, }, video: { - position: 'absolute', + display: 'block', + margin: '0 auto', '&::-webkit-media-controls-start-playback-button': { display: 'none!important', @@ -416,9 +417,5 @@ const useStyles = makeStyles((theme: Theme) => ({ height: '100%', overflow: 'auto', - - display: 'flex', - alignItems: 'center', - justifyContent: 'center', }, }));