From 8b0aef05a87b3e7a2f9511f1d482c5dd0bd37d8e Mon Sep 17 00:00:00 2001 From: Sabrina <89919203+theflucs@users.noreply.github.com> Date: Sun, 21 Jan 2024 20:25:50 +0100 Subject: [PATCH] Fix broken layout if pr title is too long (#94) * style: changed total contributions pill padding * feat: add tooltip to total contributions pill * style: fix pr title right alignement * style: fix pr title broken layout if too long --------- Co-authored-by: sa.cux --- src/components/RepositoryContributionsCard.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/RepositoryContributionsCard.tsx b/src/components/RepositoryContributionsCard.tsx index b38eb30..9dfe8f7 100644 --- a/src/components/RepositoryContributionsCard.tsx +++ b/src/components/RepositoryContributionsCard.tsx @@ -34,12 +34,16 @@ export const RepositoryContributionsCard = ({ {repository.owner.login}/{repository.name} -
{totalCount}
+
+
+ {totalCount} +
+
-
+
{nodes?.map(({ pullRequest: { state, title, id, url } }: any) => (
- + {title}