Skip to content

Commit 9c8d8bf

Browse files
committed
Heatmap: Fixed font size rendring on Firefox
1 parent 1aab4c8 commit 9c8d8bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/pages/circular-heatmap/circular-heatmap.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ export class CircularHeatmapComponent implements OnInit, OnDestroy {
456456
.append('textPath')
457457
.attr('text-anchor', 'middle')
458458
.attr('xlink:href', '#segment-label-path-' + id)
459-
.style('font-size', segmentLabelFontSize)
459+
.style('font-size', segmentLabelFontSize + 'px')
460460
.attr('startOffset', function (d, i) {
461461
return ((i + 0.5) * 100) / numSegments + '%'; // shift ½ segment to center
462462
})

0 commit comments

Comments
 (0)