From 59875f80e29f57344c594982a9bb3f762a6415a8 Mon Sep 17 00:00:00 2001 From: ChK Date: Mon, 22 Dec 2025 18:12:25 +0100 Subject: [PATCH] Committed and Pushed by ButtonClick --- public/index.html | 4 ++-- public/indexA.css | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/public/index.html b/public/index.html index e25c399..ef7a8c0 100755 --- a/public/index.html +++ b/public/index.html @@ -20,7 +20,7 @@
- +
@@ -31,7 +31,7 @@

Camera 1

- +
Connecting…
diff --git a/public/indexA.css b/public/indexA.css index fd6b96c..bb85299 100755 --- a/public/indexA.css +++ b/public/indexA.css @@ -42,9 +42,8 @@ h1, h2 { background: #000; border-radius: 8px; overflow: hidden; - width: 100%; - max-width: 1280px; - aspect-ratio: 4 / 3; + width: 1280px; + height: 960px; margin: 0 auto; } @@ -56,8 +55,8 @@ h1, h2 { position: absolute; inset: 0; /* top:0; right:0; bottom:0; left:0 */ /*width: 100%;*/ - width: 1280px; - height: 100%; + width: 1280px; + height: 960px; /* Use `contain` so both layers scale uniformly and show letterboxing instead of stretching or cropping when the container size differs from the image. */ object-fit: contain;