From 685a9487f3c9bd81e451e28972b5a26aeef87027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=B0=8F=E5=BC=BA?= <774550196@qq.com> Date: Tue, 3 Nov 2026 22:44:30 +0800 Subject: [PATCH] fix(vcs): wrap long refs in Git log commit details (#999) Branch and tag labels in the commit details pane inherited the graph row's 180px single-line limit and were clipped. Labels in the details metadata now use the pane width and wrap, including names without break points; graph-row labels keep their single-line ellipsis. Fixes #996 Co-authored-by: guozhiqiang123 <20378988+guozhiqiang123@users.noreply.github.com> --- src/features/vcs/GitLog.module.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/features/vcs/GitLog.module.css b/src/features/vcs/GitLog.module.css index c8a939cc9..8f5cdc946 100644 --- a/src/features/vcs/GitLog.module.css +++ b/src/features/vcs/GitLog.module.css @@ -374,6 +374,11 @@ max-width: none; flex-wrap: wrap; } +.meta .ref { + max-width: 100%; + white-space: normal; + overflow-wrap: anywhere; +} .hash { font-family: var(--font-mono); }