Skip to content

Report tables: the first column doesn't wrap - #44

Closed
pytooling-claude[bot] wants to merge 1 commit into
devfrom
claude/report-name-nowrap
Closed

pytooling-claude[bot] wants to merge 1 commit into
devfrom
claude/report-name-nowrap

Conversation

@pytooling-claude

@pytooling-claude pytooling-claude Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Bug Fixes

  • pyTooling.Sphinx stylesheet pyTooling.css: in a unit test, code coverage or documentation coverage table, a name is indented by its depth with em quads (INDENTATION = " "). An em quad isn't collapsed, but a line may break after it: in a narrow column, e.g. with the theme alabaster, a deep testcase's or file's name wrapped below its indentation, so the row was twice as tall and the name bottom-aligned. The first column of these tables doesn't wrap now (white-space: nowrap), as sphinx_rtd_theme does for every cell.

Others

  • Not checked in a browser here (no browser in the container); the rule is limited to the first cell of the rows of report-unittest-table, report-codecov-table and report-doccov-table, legends are unchanged.

A name is indented with em quads, after which a line may break; in a narrow column (alabaster), the name wrapped below its indentation.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
@pytooling-claude
pytooling-claude Bot requested a review from Paebbels as a code owner October 17, 2026 14:16
@Paebbels Paebbels added the Bug Something isn't working label Oct 17, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@pytooling-claude

Copy link
Copy Markdown
Author

Closed in favour of a structural indentation, as agreed with @Paebbels: the depth of a row becomes a node with a level attribute instead of em quads in the text - in HTML a CSS padding per level (a wrapped name hangs at its indentation, so white-space: nowrap isn't needed), in LaTeX a macro of pyTooling.Sphinx.sty. The follow-up pull-request replaces this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants