From 7badfa949548642d01bb6c76dd87a42dc7a95441 Mon Sep 17 00:00:00 2001 From: Axel Rafn Date: Fri, 24 Jan 2025 20:37:25 +0100 Subject: [PATCH] Changing view to circular view --- python/pypeepr.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/python/pypeepr.py b/python/pypeepr.py index 1727a8a..c694e8e 100644 --- a/python/pypeepr.py +++ b/python/pypeepr.py @@ -29,7 +29,8 @@ PAGE = """\ .container { position: relative; - display: inline-block; + width: 480px; + height: 480px; } .title { @@ -41,10 +42,14 @@ PAGE = """\ border-radius: 5px; font-size: 18px; color: #b9f084; + z-index: 1; } img { - border-radius: 10px; + border-radius: 50%; + width: 480px; + height: 480px; + object-fit: cover; display: block; } @@ -52,7 +57,7 @@ PAGE = """\
peepr
- Webcam Stream + Webcam Stream
@@ -125,4 +130,3 @@ try: server.serve_forever() finally: picam2.stop_recording() -