Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <Catalin.Mititiuc@gmail.com>2024-03-31 17:05:12 -0700
committerCatalin Mititiuc <Catalin.Mititiuc@gmail.com>2024-03-31 17:28:16 -0700
commit64aeda4b5591d7801948406f9ace46121c037e8b (patch)
tree686317f5af3be4e2675207120f9825c6f35259ed /style.css
parent69b1d8252e3ba2d41e5a6c007fabb3b68b6086b3 (diff)
Fix after moving svg into container div
Diffstat (limited to 'style.css')
-rw-r--r--style.css7
1 files 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 {