Web Dev Solutions

Catalin Mititiuc

From 64aeda4b5591d7801948406f9ace46121c037e8b Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Sun, 31 Mar 2024 17:05:12 -0700 Subject: Fix after moving svg into container div --- style.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/style.css b/style.css index 19c74cf..9954d29 100644 --- a/style.css +++ b/style.css @@ -1,6 +1,5 @@ body { margin: 0; - max-height: 100vh; display: flex; overflow: hidden; } @@ -8,13 +7,13 @@ body { #map-container { flex-basis: 100%; position: relative; + max-height: 100vh; } svg { background-color: darkgray; - /* flex-basis: 100%; */ - /* max-height: 50vh; */ - /* max-height: 100vw; */ + width: 100%; + height: 100%; } svg text { -- cgit v1.2.3