Skip to content

Commit

Permalink
Update index.css
Browse files Browse the repository at this point in the history
  • Loading branch information
YawarRaza7349 authored Jun 19, 2024
1 parent e082f16 commit 8a90a4c
Showing 1 changed file with 23 additions and 12 deletions.
35 changes: 23 additions & 12 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,32 @@ button, input {
font: inherit;
}

#layout {
display: flex;
flex-flow: row wrap;
@media (min-width: 45rem) {
#layout {
display: flex;
flex-flow: row nowrap;
}

#sidebar {
width: 25rem;
}

#map {
flex: 1;
}

#map-svg {
max-height: 100vh;
}
}

@media not (min-width: 45rem) {
#map-svg {
width: 100vw;
}
}

#sidebar {
max-width: 25rem;
margin: 1rem;
}

Expand Down Expand Up @@ -117,14 +136,6 @@ h2 {
margin-left: 0;
}

#map {
flex: 1;
}

#map-svg {
max-height: 100vh;
}

#map-svg .state {
fill: white;
}

0 comments on commit 8a90a4c

Please sign in to comment.