Restoring rectangular view

This commit is contained in:
2025-01-24 20:42:25 +01:00
parent 7badfa9495
commit dd56a2f457

View File

@ -29,8 +29,7 @@ PAGE = """\
.container { .container {
position: relative; position: relative;
width: 480px; display: inline-block;
height: 480px;
} }
.title { .title {
@ -42,14 +41,10 @@ PAGE = """\
border-radius: 5px; border-radius: 5px;
font-size: 18px; font-size: 18px;
color: #b9f084; color: #b9f084;
z-index: 1;
} }
img { img {
border-radius: 50%; border-radius: 10px;
width: 480px;
height: 480px;
object-fit: cover;
display: block; display: block;
} }
</style> </style>
@ -57,7 +52,7 @@ PAGE = """\
<body> <body>
<div class="container"> <div class="container">
<div class="title">peepr</div> <div class="title">peepr</div>
<img src="stream.mjpg" alt="Webcam Stream"> <img src="stream.mjpg" width="640" height="480" alt="Webcam Stream">
</div> </div>
</body> </body>
</html> </html>