Skip to content

Keep result table content inside its columns - #3

Merged
steitec merged 1 commit into
mainfrom
fix/pdf-table-overflow
Nov 9, 2026
Merged

steitec merged 1 commit into
mainfrom
fix/pdf-table-overflow

Conversation

@steitec

@steitec steitec commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Fixes three layout defects in the result tables of the protocol:

  • The limit source ((limits.toml)) could not wrap and ran into the tolerance band column.
  • The tolerance band had a fixed width of 120 px and ran into the status badge.
  • WeasyPrint does not resolve CSS variables in SVG attributes, so the bands were black in PDFs.

Checked by rendering examples/EPC-24-00137 to PDF with WeasyPrint and Chromium. Tests: 139 passed.

Limit sources wrap instead of overflowing, the tolerance band scales to
its column, and the band has literal colours because WeasyPrint does not
resolve CSS variables in SVG attributes.
@steitec
steitec merged commit b7f9f6b into main Nov 9, 2026
20 checks passed
@steitec
steitec deleted the fix/pdf-table-overflow branch November 9, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant