mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 01:15:43 +03:00
Fix Firefox positioning of chart resource label (#9209)
alignment-baseline appears to be ignored in Firefox, but dominant-baseline works. This also moves the anchor into CSS.
This commit is contained in:
@@ -24,8 +24,6 @@
|
||||
|
||||
<text
|
||||
class="resource"
|
||||
alignment-baseline="central"
|
||||
text-anchor="end"
|
||||
x={{this.resourceLabel.x}}
|
||||
y={{this.resourceLabel.y}}
|
||||
>
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
.resource {
|
||||
font-weight: $weight-semibold;
|
||||
dominant-baseline: central;
|
||||
text-anchor: end;
|
||||
}
|
||||
|
||||
.icon.delta g {
|
||||
|
||||
Reference in New Issue
Block a user