maps: adapt marker size relative to the map font size (#17542)
This commit is contained in:
parent
ab86579592
commit
6260d3aedc
|
@ -1,17 +1,18 @@
|
|||
div.combo-cell-map {
|
||||
div.combo-cell-map.leaflet-container {
|
||||
height: 60vh;
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
/* leaflet styles */
|
||||
|
||||
div.leaflet-div-icon span {
|
||||
width: 2.3rem;
|
||||
height: 2.3rem;
|
||||
width: 2.3em;
|
||||
height: 2.3em;
|
||||
display: block;
|
||||
left: -1rem;
|
||||
top: -1rem;
|
||||
left: -1em;
|
||||
top: -1em;
|
||||
position: relative;
|
||||
border-radius: 11rem 6rem 0.8rem;
|
||||
border-radius: 11em 6em 0.8em;
|
||||
transform: scale(1, 1.3) rotate(45deg);
|
||||
border: 1px solid #aaa;
|
||||
}
|
||||
|
@ -34,7 +35,7 @@ div.leaflet-div-icon span i:before {
|
|||
|
||||
select#id_icon option::before,
|
||||
i.leaflet-marker-icon {
|
||||
font: normal normal normal 1rem/1 FontAwesome;
|
||||
font: normal normal normal 1em/1 FontAwesome;
|
||||
}
|
||||
|
||||
select#id_icon option::before {
|
||||
|
|
Loading…
Reference in New Issue