Merge pull request #2839 from L0laapk3/v3.0

fix vertical centering of markers
This commit is contained in:
mikeprimm 2020-04-12 19:31:52 -05:00 committed by GitHub
commit 7051af01b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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