fix: radar can get out of 1/1 aspect ratio

- Fixed radar going out of its 1/1 AR.
- Settings are now in a vertical layout
This commit is contained in:
Janek
2024-04-12 14:10:53 +02:00
parent 85ff61d902
commit 376c6205ed
3 changed files with 20 additions and 7 deletions

View File

@@ -9,11 +9,10 @@ body {
}
#canvasContainer {
aspect-ratio: 1 / 1;
height: 100vh;
width: 100vmin;
height: 100vmin;
position: relative;
overflow: hidden;
transition: width 0.5s ease; /* Smooth transition */
float: left;
object-fit: contain;
}
@@ -37,6 +36,11 @@ canvas {
}
.settings {
display: flex;
flex-direction: column;
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: white;
visibility: visible;
opacity: 0;
padding: 10px;