centering emoji

This commit is contained in:
Garry Ing 2021-04-25 20:38:08 -04:00
parent ccbe31e4c0
commit b62b69303b
No known key found for this signature in database
GPG Key ID: 3B379B1F2193CC3E
2 changed files with 6 additions and 1 deletions

View File

@ -115,6 +115,11 @@
.status {
pointer-events: none;
@-moz-document url-prefix() {
text {
transform: translateX(2px);
}
}
}
// Notes inline styles

View File

@ -306,7 +306,7 @@ if (typeof window.graphData !== 'undefined') {
.text((d) => d.status)
.attr('font-size', '18px')
.attr('text-anchor', 'middle')
.attr('alignment-baseline', 'central')
.attr('dominant-baseline', 'central')
.merge(status)
node = node.data(nodesData, (d) => d.id).enter().append('circle')