fix centering of markers

This commit is contained in:
L0laapk3 2020-04-01 00:14:18 +02:00
parent 07fa1c9def
commit 9b5d3ee70c

View file

@ -887,22 +887,19 @@
} }
.dynmap .mapMarker .markerIcon16x16 { .dynmap .mapMarker .markerIcon16x16 {
margin-top: -8px; transform: translate(-50%, -50%);
margin-left: -8px;
width: 16px; width: 16px;
height: 16px; height: 16px;
} }
.dynmap .mapMarker .markerIcon8x8 { .dynmap .mapMarker .markerIcon8x8 {
margin-top: -4px; transform: translate(-50%, -50%);
margin-left: -4px;
width: 8px; width: 8px;
height: 8px; height: 8px;
} }
.dynmap .mapMarker .markerIcon32x32 { .dynmap .mapMarker .markerIcon32x32 {
margin-top: -16px; transform: translate(-50%, -50%);
margin-left: -16px;
width: 32px; width: 32px;
height: 32px; height: 32px;
} }