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