diff --git a/webradar/styles.css b/webradar/styles.css index eb9453d..f999d16 100644 --- a/webradar/styles.css +++ b/webradar/styles.css @@ -1,19 +1,20 @@ -body, html { - height: 100%; +body { margin: 0; + overflow: hidden; display: flex; justify-content: center; align-items: center; + height: 100vh; background-color: #000000; /* Change the background color as needed */ } #canvasContainer { aspect-ratio: 1 / 1; - width: 100vh; /* Initial half-screen size */ position: relative; overflow: hidden; transition: width 0.5s ease; /* Smooth transition */ float: left; + object-fit: contain; } canvas {