Skip to content

Open-source status page, incident response and uptime monitoring

fix: overflow (#250)

Maximilian Kaske78e26fb01b44
diff --git a/apps/web/src/components/incidents/events.tsx b/apps/web/src/components/incidents/events.tsx
index 3e7a45dcc..1a64fad6d 100644
--- a/apps/web/src/components/incidents/events.tsx
+++ b/apps/web/src/components/incidents/events.tsx
@@ -107,7 +107,7 @@ function EventMessage({
return (
<div
className={cn(
- "prose dark:prose-invert prose-sm prose-headings:font-cal",
+ "prose dark:prose-invert prose-sm prose-headings:font-cal overflow-hidden text-ellipsis", // fixes very long words
className,
)}
>
diff --git a/apps/web/src/components/status-page/incident-list.tsx b/apps/web/src/components/status-page/incident-list.tsx
index 5e99b46d6..765925b82 100644
--- a/apps/web/src/components/status-page/incident-list.tsx
+++ b/apps/web/src/components/status-page/incident-list.tsx
@@ -38,7 +38,7 @@ export const IncidentList = ({
{incident.title}
<StatusBadge status={incident.status} />
</div>
- <div>
+ <div className="overflow-hidden text-ellipsis">
<p className="text-muted-foreground mb-1 text-xs">
Affected Monitors
</p>