From 463a75fdb7f76558bea7137400f3eed90ccc6543 Mon Sep 17 00:00:00 2001 From: null Date: Fri, 22 May 2026 21:35:30 -0500 Subject: [PATCH] fix(metric-card): update action button rendering and styling for better UX --- .../git/ForgejoIssueMetricCards.tsx | 42 +++++++++---------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/frontend/src/components/git/ForgejoIssueMetricCards.tsx b/frontend/src/components/git/ForgejoIssueMetricCards.tsx index dfb495e..85705f3 100644 --- a/frontend/src/components/git/ForgejoIssueMetricCards.tsx +++ b/frontend/src/components/git/ForgejoIssueMetricCards.tsx @@ -264,27 +264,6 @@ function MetricCardLink({ card }: { card: MetricCard }) {

- {card.action ? ( - - ) : null}

{card.caption}

- + {card.action ? ( + + ) : ( + + )}
);