Fix media queries

This commit is contained in:
Ben Goldsworthy 2022-10-19 14:18:14 -07:00
parent 27ace62423
commit 8625b24385

View file

@ -10,9 +10,6 @@ body {
.page-title {
font-size: 3em;
text-align: center;
@media screen and (min-width: 1024px) {
text-align: left;
}
}
details h2 {
@ -73,33 +70,20 @@ details h2 {
#routeContainer {
display: grid;
grid-gap: 20px;
@media screen and (min-width: 1024px) {
grid-template-columns: 3fr 1fr;
}
}
#mapContainer {
grid-column-start: 1;
grid-column-end: 3;
@media screen and (min-width: 1024px) {
grid-column-end: 2;
}
}
#map {
height: 400px;
@media screen and (min-width: 1024px) {
height: auto;
min-height: 800px;
}
}
#checkinList {
grid-column-start: 1;
grid-column-end: 3;
@media screen and (min-width: 1024px) {
grid-column-start: 2;
}
}
details {
@ -119,9 +103,6 @@ details[open] summary {
max-width: 85vw;
max-height: 85vh;
min-width: 60vw;
@media screen and (min-width: 1024px) {
min-width: 350px;
}
}
.leaflet-popup-content {
@ -132,7 +113,38 @@ details[open] summary {
width: auto;
height: auto;
max-width: 70vw;
@media screen and (min-width: 1024px) {
}
/*
* Large Display
*/
@media screen and (min-width: 1024px) {
.page-title {
text-align: left;
}
#routeContainer {
grid-template-columns: 3fr 1fr;
}
#mapContainer {
grid-column-end: 2;
}
#map {
height: auto;
min-height: 800px;
}
#checkinList {
grid-column-start: 2;
}
.leaflet-popup {
min-width: 350px;
}
.popup__image {
max-width: 50vw;
}
}