Css tweaking

This commit is contained in:
Pieter Vander Vennet 2020-07-24 18:19:37 +02:00
parent 89b78ee709
commit 8ca4eb1747
2 changed files with 6 additions and 4 deletions

View file

@ -82,7 +82,7 @@ export default class BikeStations extends LayerDefinition {
icon: L.icon({ icon: L.icon({
iconUrl: iconUrl, iconUrl: iconUrl,
iconSize: [50, 50], iconSize: [50, 50],
iconAnchor: [25,50] iconAnchor: [25, 50]
}) })
}; };
}; };

View file

@ -320,7 +320,9 @@ form {
border-top-left-radius: 0; border-top-left-radius: 0;
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
width: 100%; width: 100%;
max-width: 35vw; max-width: calc(max(35vw, 30em));
max-height: calc(100vh - 15em);
overflow-y: auto;
} }
#messagesbox { #messagesbox {
@ -453,7 +455,7 @@ form {
} }
@media only screen and (max-width: 600px), only screen and (max-height: 300px) { @media only screen and (max-width: 600px), only screen and (max-height: 600px) {
#messagesbox-wrapper { #messagesbox-wrapper {
display: none; display: none;
} }
@ -547,7 +549,7 @@ form {
@media only screen and (max-height: 400px) { @media only screen and (max-height: 400px) {
/* Landscape */ /* Portait: small 'to the map' */
#to-the-map { #to-the-map {
position: relative; position: relative;
height: 100%; height: 100%;