Work around Safari's lack of text transform support
This commit is contained in:
parent
2309baf080
commit
329fecac6d
|
@ -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 {
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
</g>
|
||||
</g>
|
||||
{{else}}
|
||||
<text data-test-empty-message class="empty-text">Empty Client</text>
|
||||
<g class="empty-text"><text data-test-empty-message>Empty Client</text></g>
|
||||
{{/if}}
|
||||
</svg>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue