From 4a3db11e16bc2fc0d46d555eb792408cd1a35325 Mon Sep 17 00:00:00 2001 From: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Date: Sun, 7 Jun 2026 20:51:04 -0700 Subject: [PATCH] feat: show persistent underline on PR link buttons in review headers (#4861) --- .../components/right-sidebar/ChecksPanel.review-header.test.tsx | 1 + src/renderer/src/components/right-sidebar/ChecksPanel.tsx | 2 +- .../SourceControl.hosted-review-header-link.test.tsx | 1 + src/renderer/src/components/right-sidebar/SourceControl.tsx | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/components/right-sidebar/ChecksPanel.review-header.test.tsx b/src/renderer/src/components/right-sidebar/ChecksPanel.review-header.test.tsx index 4b4b79af5b6..af2a2c546c2 100644 --- a/src/renderer/src/components/right-sidebar/ChecksPanel.review-header.test.tsx +++ b/src/renderer/src/components/right-sidebar/ChecksPanel.review-header.test.tsx @@ -48,6 +48,7 @@ describe('ChecksPanelReviewHeader', () => { expect(markup).toContain('Open on GitHub') expect(markup).toContain('#2964') + expect(markup).toContain('underline decoration-border underline-offset-2') expect(markup).toContain('More PR actions') expect(markup).toContain('unlink PR') expect(markup).toContain('Link another PR') diff --git a/src/renderer/src/components/right-sidebar/ChecksPanel.tsx b/src/renderer/src/components/right-sidebar/ChecksPanel.tsx index 8e378e3a773..537927d0780 100644 --- a/src/renderer/src/components/right-sidebar/ChecksPanel.tsx +++ b/src/renderer/src/components/right-sidebar/ChecksPanel.tsx @@ -139,7 +139,7 @@ export function ChecksPanelReviewHeader({