mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 23:44:47 +02:00
All labels should use baseline middle, fix math, bboxes for area labels
This commit is contained in:
+3
-7
@@ -1310,21 +1310,17 @@ text.pointlabel-halo,
|
||||
text.arealabel,
|
||||
text.linelabel,
|
||||
text.pointlabel {
|
||||
dominant-baseline: middle;
|
||||
text-anchor: middle;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
fill: #333;
|
||||
text-anchor: middle;
|
||||
pointer-events: none;
|
||||
-webkit-transition: opacity 100ms linear;
|
||||
transition: opacity 100ms linear;
|
||||
-moz-transition: opacity 100ms linear;
|
||||
}
|
||||
|
||||
.linelabel-halo .textpath,
|
||||
.linelabel .textpath {
|
||||
dominant-baseline: middle;
|
||||
}
|
||||
|
||||
/* Opera doesn't support dominant-baseline. See #715 */
|
||||
.opera .linelabel-halo .textpath,
|
||||
.opera .linelabel .textpath {
|
||||
@@ -1344,7 +1340,7 @@ text.proximate {
|
||||
}
|
||||
|
||||
text.point {
|
||||
font-size: 10px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
/* Turns */
|
||||
|
||||
Reference in New Issue
Block a user