From 60b5a46e35c13bfb7ff496e7cfbb6d94d85fe4be Mon Sep 17 00:00:00 2001 From: cheykrym Date: Mon, 26 Jan 2026 21:32:03 +0300 Subject: [PATCH] camera patch --- src/web_ui.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/web_ui.cpp b/src/web_ui.cpp index daab25c..413a1cc 100644 --- a/src/web_ui.cpp +++ b/src/web_ui.cpp @@ -17,13 +17,15 @@ const char INDEX_HTML[] PROGMEM = R"HTML( input[type=range]{ width: 100%; } .muted { opacity: 0.7; font-size: 13px; } .status { margin-top: 10px; font-family: monospace; } + .cam-wrap { margin: 10px 0; max-width: 420px; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid #ccc; border-radius: 6px; } + .cam-img { width: 100%; height: 100%; object-fit: cover; transform: rotate(90deg) scaleY(-1); }

ESP32 Robot

-
- +
+