Chart legends with tabular layout get misaligned because of the scrollbar
Description
If scrollbars are enabled system-wide (e.g. for macOS, the "Show Scrollbars" section), the legend headers with tabular layout get misaligned in relation to their legend content.
Relevant discussion: !1385 (comment 343609375)
Related issue: gitlab#211340 (closed)