Fix plat label text centering
This commit is contained in:
parent
f7f662bed1
commit
51a3629794
1 changed files with 1 additions and 4 deletions
5
map.html
5
map.html
|
|
@ -23,13 +23,10 @@
|
||||||
.label {
|
.label {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: -1em;
|
|
||||||
}
|
}
|
||||||
.label div {
|
.label div {
|
||||||
position: relative;
|
|
||||||
left: -50%;
|
|
||||||
top: -50%;
|
|
||||||
text-shadow: 0 0 2px white;
|
text-shadow: 0 0 2px white;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
}
|
}
|
||||||
.leaflet-popup-content-wrapper {
|
.leaflet-popup-content-wrapper {
|
||||||
height: min(800px, 60vh);
|
height: min(800px, 60vh);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue