From fee47fe347124e0201c88bddd9c0a752e577635c Mon Sep 17 00:00:00 2001 From: Kia Lam Date: Mon, 21 Feb 2022 15:49:48 -0800 Subject: [PATCH] Vertically center node type symbols on Firefox. --- awx/ui/src/screens/TopologyView/MeshGraph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/src/screens/TopologyView/MeshGraph.js b/awx/ui/src/screens/TopologyView/MeshGraph.js index df93bdeddb..1a9420f907 100644 --- a/awx/ui/src/screens/TopologyView/MeshGraph.js +++ b/awx/ui/src/screens/TopologyView/MeshGraph.js @@ -130,7 +130,7 @@ function MeshGraph({ data, showLegend, zoom }) { .append('text') .text((d) => renderNodeType(d.node_type)) .attr('text-anchor', 'middle') - .attr('alignment-baseline', 'central') + .attr('dominant-baseline', 'central') .attr('fill', DEFAULT_NODE_LABEL_TEXT_COLOR); // node hostname labels