]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
script/ptl-tool: use img to fix table width 70140/head
authorPatrick Donnelly <pdonnell@ibm.com>
Thu, 9 Jul 2026 19:41:05 +0000 (15:41 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Sun, 12 Jul 2026 17:06:50 +0000 (13:06 -0400)
Otherwise the browser will shrink the table horizontally to the point
it's unreadable.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/script/ptl-tool.py

index 915a6fb748bebeeec3cb0a9accd8dc9d5f505b3d..8909cd89d80e00e83fe45c72536f0baabbe4d1f3 100755 (executable)
@@ -698,7 +698,8 @@ class CommitParityCheck(BaseAuditCheck):
             visualizer_lines.append("COMMIT PARITY VISUALIZER")
             visualizer_lines.append("=" * 80)
             
-            visualizer_md_lines.append(f"| BACKPORT PR #{pr} | SOURCE PR | SOURCE STATUS |")
+            # Add <img> to make sure the column is shrunk down.
+            visualizer_md_lines.append(f"| BACKPORT PR #{pr} | SOURCE PR <picture><img width=\"120\" height=\"1\"></picture> | SOURCE STATUS |")
             visualizer_md_lines.append("|---|---|---|")
 
             bp_to_source = {}