fix(heart): render the board's detail lines as the columns they are - #191
Merged
Conversation
Every `<li>` under a board row is space-padded terminal text — `PyAutoArray CI ✓ repo state n/a here PR×1` — pasted into html unchanged. Html collapses those runs of spaces, so all ~40 of them rendered as run-on prose in a proportional face and the block read as one long grey column instead of a table. `white-space:pre-wrap` keeps the padding and a monospace face makes it mean something again; a line too long for the column still wraps rather than scrolling the page (the shared sheet's wrap guard). The other half of the same report — the 44rem page cap wasting a laptop's width — is fixed for every board in the shared theme (PyAutoBrain), not here. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018q6ZrgG6u8o8ENYZ7cq3Lr
The tenant firewall names it exactly: a worked example in the comment used `PyAutoArray`, an instance fact, in organ code. `<repo>` says the same thing about the shape of the line without naming a tenant. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018q6ZrgG6u8o8ENYZ7cq3Lr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reported from a laptop: the board reads as a long column of text. Two causes; this PR fixes the one that lives in the Heart.
The problem
Every
<li>under a board row is space-padded terminal text, pasted into html unchanged:Html collapses runs of spaces, so all ~40 of those lines rendered as run-on prose in a proportional face — the columns the text was built around simply vanished, and the whole block read as one grey paragraph.
The fix
CSS only, in
_EXTRA_CSS:white-space:pre-wrap— the padding survives, so the columns line up as they do in the terminal render..8rem— the padding means something again.A line too long for the column still wraps rather than scrolling the page, so the shared sheet's wrap guard is untouched.
The other half
The same report's second cause — the shared 44rem page cap wasting a laptop's width — is a family contract, so it is fixed once for every board in PyAutoLabs/PyAutoBrain#313 rather than here.
Verification
pytest tests→ 656 passed.board.jsonwith the new CSS: the diff against the live page is exactly this rule, nothing else moved.🤖 Generated with Claude Code
https://claude.ai/code/session_018q6ZrgG6u8o8ENYZ7cq3Lr