From 329fecac6d876aaecf71e166da1fa149ab0b4183 Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Thu, 15 Oct 2020 11:03:26 -0700 Subject: [PATCH] Work around Safari's lack of text transform support --- ui/app/styles/charts/topo-viz-node.scss | 7 +++++-- ui/app/templates/components/topo-viz/node.hbs | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ui/app/styles/charts/topo-viz-node.scss b/ui/app/styles/charts/topo-viz-node.scss index cfef33320..1da8b4940 100644 --- a/ui/app/styles/charts/topo-viz-node.scss +++ b/ui/app/styles/charts/topo-viz-node.scss @@ -64,8 +64,11 @@ .empty-text { fill: $red; transform: translate(50%, 50%); - text-anchor: middle; - alignment-baseline: central; + + text { + text-anchor: middle; + alignment-baseline: central; + } } & + .topo-viz-node { diff --git a/ui/app/templates/components/topo-viz/node.hbs b/ui/app/templates/components/topo-viz/node.hbs index fc02614a2..093eaaa1a 100644 --- a/ui/app/templates/components/topo-viz/node.hbs +++ b/ui/app/templates/components/topo-viz/node.hbs @@ -109,7 +109,7 @@ {{else}} - Empty Client + Empty Client {{/if}}