From 1d5dc14d3425a94c6c31ce6fd46528f96514df1f Mon Sep 17 00:00:00 2001
From: ThaUnknown <6506529+ThaUnknown@users.noreply.github.com>
Date: Tue, 14 Apr 2026 19:31:35 +0200
Subject: [PATCH] fix: styling issues with wrapping for timeline events
---
.../issues/detail/issue-detail-activity.tsx | 26 +++++++++----------
.../pulls/detail/pull-detail-activity.tsx | 26 +++++++++----------
2 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/apps/dashboard/src/components/issues/detail/issue-detail-activity.tsx b/apps/dashboard/src/components/issues/detail/issue-detail-activity.tsx
index 960c9b7..5ed9d06 100644
--- a/apps/dashboard/src/components/issues/detail/issue-detail-activity.tsx
+++ b/apps/dashboard/src/components/issues/detail/issue-detail-activity.tsx
@@ -859,7 +859,7 @@ function ActorMention({
)}
{login}
@@ -875,7 +875,7 @@ function getIssueEventDescription(event: TimelineEvent): React.ReactNode {
switch (event.event) {
case "labeled":
return (
-
+
{" added "}
{event.label && (
@@ -889,7 +889,7 @@ function getIssueEventDescription(event: TimelineEvent): React.ReactNode {
);
case "unlabeled":
return (
-
+
{" removed "}
{event.label && (
@@ -903,7 +903,7 @@ function getIssueEventDescription(event: TimelineEvent): React.ReactNode {
);
case "assigned":
return (
-
+
{" assigned "}
@@ -911,7 +911,7 @@ function getIssueEventDescription(event: TimelineEvent): React.ReactNode {
);
case "unassigned":
return (
-
+
{" unassigned "}
@@ -919,7 +919,7 @@ function getIssueEventDescription(event: TimelineEvent): React.ReactNode {
);
case "renamed":
return (
-
+
{" changed the title from "}
{event.rename?.from}
@@ -931,14 +931,14 @@ function getIssueEventDescription(event: TimelineEvent): React.ReactNode {
);
case "closed":
return (
-
+
{" closed this"}
);
case "reopened":
return (
-
+
{" reopened this"}
@@ -948,7 +948,7 @@ function getIssueEventDescription(event: TimelineEvent): React.ReactNode {
if (!event.source) return null;
const prefix = event.source.type === "pull_request" ? "PR" : "Issue";
return (
-
+
{" mentioned this in "}
@@ -962,7 +962,7 @@ function getIssueEventDescription(event: TimelineEvent): React.ReactNode {
}
case "milestoned":
return (
-
+
{" added this to the "}
@@ -973,7 +973,7 @@ function getIssueEventDescription(event: TimelineEvent): React.ReactNode {
);
case "demilestoned":
return (
-
+
{" removed this from the "}
@@ -984,7 +984,7 @@ function getIssueEventDescription(event: TimelineEvent): React.ReactNode {
);
case "review_requested":
return (
-
+
{" requested review from "}
@@ -992,7 +992,7 @@ function getIssueEventDescription(event: TimelineEvent): React.ReactNode {
);
case "review_request_removed":
return (
-
+
{" removed review request for "}
diff --git a/apps/dashboard/src/components/pulls/detail/pull-detail-activity.tsx b/apps/dashboard/src/components/pulls/detail/pull-detail-activity.tsx
index 2513974..41ad26b 100644
--- a/apps/dashboard/src/components/pulls/detail/pull-detail-activity.tsx
+++ b/apps/dashboard/src/components/pulls/detail/pull-detail-activity.tsx
@@ -2664,7 +2664,7 @@ function ActorMention({
)}
{login}
@@ -2683,7 +2683,7 @@ function getEventDescription(
switch (event.event) {
case "labeled":
return (
-
+
{" added "}
{event.label && (
@@ -2697,7 +2697,7 @@ function getEventDescription(
);
case "unlabeled":
return (
-
+
{" removed "}
{event.label && (
@@ -2711,7 +2711,7 @@ function getEventDescription(
);
case "assigned":
return (
-
+
{" assigned "}
@@ -2719,7 +2719,7 @@ function getEventDescription(
);
case "unassigned":
return (
-
+
{" unassigned "}
@@ -2727,7 +2727,7 @@ function getEventDescription(
);
case "review_requested":
return (
-
+
{" requested review from "}
@@ -2735,7 +2735,7 @@ function getEventDescription(
);
case "review_request_removed":
return (
-
+
{" removed review request for "}
@@ -2758,7 +2758,7 @@ function getEventDescription(
}
case "renamed":
return (
-
+
{" changed the title from "}
{event.rename?.from}
@@ -2787,7 +2787,7 @@ function getEventDescription(
if (!event.source) return null;
const prefix = event.source.type === "pull_request" ? "PR" : "Issue";
return (
-
+
{" mentioned this in "}
@@ -2801,7 +2801,7 @@ function getEventDescription(
}
case "milestoned":
return (
-
+
{" added this to the "}
@@ -2812,7 +2812,7 @@ function getEventDescription(
);
case "demilestoned":
return (
-
+
{" removed this from the "}
@@ -2837,7 +2837,7 @@ function getEventDescription(
);
case "head_ref_deleted":
return (
-
+
{" deleted "}
@@ -2848,7 +2848,7 @@ function getEventDescription(
);
case "head_ref_restored":
return (
-
+
{" restored "}