From c198a703eac6cc8e18d109fc7b7f7d95dca9c31b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Beaufort?= Date: Fri, 25 Nov 2022 17:19:53 +0100 Subject: [PATCH] Fix canvas layout --- image-capture/grab-frame-take-photo.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/image-capture/grab-frame-take-photo.css b/image-capture/grab-frame-take-photo.css index 803650967c..70357cec21 100644 --- a/image-capture/grab-frame-take-photo.css +++ b/image-capture/grab-frame-take-photo.css @@ -23,7 +23,8 @@ } -video, canvas { +video, canvas { + object-fit: contain; border: 2px solid rgba(255, 255, 255, 1); background: #263238; height: 198px;