From 84fc713532eb614c173a866110a1522c99d71f6c Mon Sep 17 00:00:00 2001 From: ethernet Date: Fri, 31 Jul 2026 02:17:39 -0400 Subject: [PATCH] fix(ci): fix misalignment on the timing html gantt chart --- scripts/ci/timings_report.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/ci/timings_report.py b/scripts/ci/timings_report.py index 4924fa77e06..16d850a2167 100644 --- a/scripts/ci/timings_report.py +++ b/scripts/ci/timings_report.py @@ -753,7 +753,15 @@ def _gantt_bars(timings: dict, baseline: dict | None) -> str: f'{fmt_tick(t)}' for t in ticks ) - axis = f'
{tick_html}
' + # Empty label spacer keeps the axis track aligned with the bar tracks + # (each gantt-row is [label][track]; without the spacer the axis spans + # the label column too and every tick lands left of its true position). + axis = ( + f'
' + f'
' + f'
{tick_html}
' + f'
' + ) legend = ( '
'