From 7ec773b0f68bded7532dbc8e9635d056f9294463 Mon Sep 17 00:00:00 2001 From: Cma <33190610+cma2819@users.noreply.github.com> Date: Wed, 27 Dec 2023 06:09:32 +0900 Subject: [PATCH] =?UTF-8?q?=E5=B9=95=E9=96=93=E5=8B=95=E7=94=BB=E5=86=8D?= =?UTF-8?q?=E7=94=9F=E6=99=82=E3=81=AE=E3=83=AA=E3=82=B5=E3=82=A4=E3=82=BA?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3=E3=81=99=E3=82=8B=20(#739)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix video size style * fix * delete unused import --- src/browser/graphics/views/interval-video.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/browser/graphics/views/interval-video.tsx b/src/browser/graphics/views/interval-video.tsx index e133e0bf..4970269c 100644 --- a/src/browser/graphics/views/interval-video.tsx +++ b/src/browser/graphics/views/interval-video.tsx @@ -90,8 +90,9 @@ const App = () => { ref={onVideoRendered} src={videoControl?.path} style={{ - minWidth: "100vw", - minHeight: "100vh", + width: "100vw", + height: "100vh", + objectFit: "contain", }} /> );