forked from orson/bachemap
fixed icons margin
This commit is contained in:
parent
8b98ac3004
commit
1b5df190ff
@ -79,12 +79,16 @@ nav {
|
||||
.leaflet-marker-icon {
|
||||
background-color: transparent !important;
|
||||
border: rgba(0, 0, 0, 0);
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.fa, .far, .fas {
|
||||
color:rgb(0, 0, 0);
|
||||
text-shadow: -1px 0 rgb(255, 136, 0), 0 1px rgb(255, 136, 0), 1px 0 rgb(255, 136, 0), 0 -1px rgb(255, 136, 0);
|
||||
font-size: larger;
|
||||
margin-left: -10px;
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
|
||||
@ -110,8 +114,10 @@ nav {
|
||||
font-size: 1.3rem; /* Increased font size for readability */
|
||||
}
|
||||
|
||||
.fa, .far, .fas {
|
||||
i.fa, i.far, i.fas {
|
||||
font-size: 1.6rem; /* Slightly larger icons for better usability */
|
||||
margin-left: -10px;
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
button {
|
||||
@ -156,6 +162,8 @@ nav {
|
||||
|
||||
.fa, .far, .fas {
|
||||
font-size: 2.2rem; /* Larger icons for touch interactions */
|
||||
margin-left: -10px;
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
button {
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
className: '{{pin.typeofpin}}',
|
||||
html: iconTypes['{{pin.typeofpin}}'],
|
||||
iconSize:[10,10],
|
||||
iconAnchor:[10,10],
|
||||
iconAnchor:[5,5],
|
||||
});
|
||||
L.marker([{{ pin.lat }}, {{ pin.lng }}], {icon: icon}).addTo(map)
|
||||
.bindPopup("<b>{{ pin.description }}</b><p>Fecha del reporte: {{pin.time}}</p><br><img src='{{ pin.photo }}'>");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user