Skip to content

Commit d44416d

Browse files
committed
ci: Move text's attributes to <text>
1 parent 3faaeb6 commit d44416d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/github-actions/illustrate-benchmark-reports.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ function renderReport(report: Report) {
4949
y=${y}
5050
width=${labelWidth}
5151
height=${rowHeight}
52-
fill=${textColor}
53-
font-family=${fontFamily}
5452
>
5553
<text
5654
x="0%"
@@ -59,6 +57,8 @@ function renderReport(report: Report) {
5957
height="100%"
6058
textLength="100%"
6159
lengthAdjust="spacingAndGlyphs"
60+
fill=${textColor}
61+
font-family=${fontFamily}
6262
>${command}</text>
6363
</svg>`
6464
)

0 commit comments

Comments
 (0)