Small preact-based (like React.js) project https://inga-lovinde.github.io/static/komoot-demo/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
904 B

section.route-planner {
width: 100%;
display: grid;
column-gap: 1rem;
row-gap: 1rem;
grid-template-columns: 1fr 2fr;
grid-template-rows: 1fr min-content;
grid-template-areas:
"markers map"
"export map";
}
section.route-planner > section.markers {
grid-area: markers;
}
section.route-planner > section.export {
grid-area: export;
}
section.route-planner > section.map {
grid-area: map;
}
section.route-planner .map-container {
width: 500px;
height: 500px;
}
section.route-planner .map-container .leaflet-tooltip-pane .text {
background: transparent;
border:0;
box-shadow: none;
color: white;
font-weight: bold;
}
@media (max-width: 639px) {
section.route-planner {
grid-template-columns: 1fr;
grid-template-rows: 1fr min-content 2fr;
grid-template-areas:
"markers"
"export"
"map";
}
section.route-planner .map-container {
width: 90vw;
height: 70vh;
}
}