Css tweaking
This commit is contained in:
parent
89b78ee709
commit
8ca4eb1747
2 changed files with 6 additions and 4 deletions
|
@ -82,7 +82,7 @@ export default class BikeStations extends LayerDefinition {
|
|||
icon: L.icon({
|
||||
iconUrl: iconUrl,
|
||||
iconSize: [50, 50],
|
||||
iconAnchor: [25,50]
|
||||
iconAnchor: [25, 50]
|
||||
})
|
||||
};
|
||||
};
|
||||
|
|
|
@ -320,7 +320,9 @@ form {
|
|||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
width: 100%;
|
||||
max-width: 35vw;
|
||||
max-width: calc(max(35vw, 30em));
|
||||
max-height: calc(100vh - 15em);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
#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 {
|
||||
display: none;
|
||||
}
|
||||
|
@ -547,7 +549,7 @@ form {
|
|||
|
||||
|
||||
@media only screen and (max-height: 400px) {
|
||||
/* Landscape */
|
||||
/* Portait: small 'to the map' */
|
||||
#to-the-map {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
|
|
Loading…
Reference in a new issue