From 1c92aa0c13b483de9958cc9665d4c5f8ede80461 Mon Sep 17 00:00:00 2001 From: sloveniangooner Date: Fri, 30 Oct 2026 07:36:37 +0100 Subject: [PATCH] fix: keep the commit hash within the reading measure On wide windows the header spanned the full row, so the hash sat at the far edge while the body, embeds and action row stopped at the reading measure. The header now ends where they do. --- Sources/DevNull/Views/Workspace/CommitRow.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/DevNull/Views/Workspace/CommitRow.swift b/Sources/DevNull/Views/Workspace/CommitRow.swift index 1092347..c07b4ba 100644 --- a/Sources/DevNull/Views/Workspace/CommitRow.swift +++ b/Sources/DevNull/Views/Workspace/CommitRow.swift @@ -279,6 +279,8 @@ struct CommitRow: View { .fixedSize() } } + // Ends where the body and action row end, so the hash doesn't drift to the far edge on wide windows. + .frame(maxWidth: DS.Metrics.bodyIndent + DS.Metrics.readingMeasure) } private func openProfile() {