From 7241a4fcee19317907764cda83fe0a103d80b38b Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Wed, 30 Sep 2026 21:30:41 +0100 Subject: [PATCH] fix: keep Heart dashboard section labels readable --- heart/dashboard.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/heart/dashboard.py b/heart/dashboard.py index 03ddaa7f..096b7730 100644 --- a/heart/dashboard.py +++ b/heart/dashboard.py @@ -1989,7 +1989,10 @@ def _html_reason(item: dict) -> str: h2::after{display:none} .lyric{display:inline-block;font-size:1.15rem;margin-bottom:.65rem} table.board td,table.board summary{font-size:1rem;line-height:1.55} -table.board td.name{white-space:normal;overflow-wrap:anywhere} +/* The table algorithm otherwise gives this column its one-character minimum + width (body defaults to overflow-wrap:anywhere), splitting Libraries and + Worktree drift even on tablet screens. The phone rows already stack. */ +table.board td.name{white-space:nowrap;overflow-wrap:normal} summary{cursor:pointer;overflow-wrap:anywhere;white-space:normal;padding:.6rem 0; color:var(--fg)} summary:focus-visible,button:focus-visible{outline:3px solid var(--fg);outline-offset:3px}