diff options
Diffstat (limited to 'source/features/patch-diff-links.tsx')
-rw-r--r-- | source/features/patch-diff-links.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/features/patch-diff-links.tsx b/source/features/patch-diff-links.tsx index e0dce047..a20f66ed 100644 --- a/source/features/patch-diff-links.tsx +++ b/source/features/patch-diff-links.tsx @@ -13,7 +13,9 @@ function init(): void { commitUrl = commitUrl.replace(/\/pull\/\d+\/commits/, '/commit'); } - select('.commit-meta > :last-child')!.append( + const commitMeta = select('.commit-meta')!; + commitMeta.classList.remove('no-wrap'); // #5987 + commitMeta.lastElementChild!.append( <span className="sha-block" data-turbo="false"> <a href={`${commitUrl}.patch`} className="sha">patch</a> {' '} |