tangled
alpha
login
or
join now
openstatus.dev
/
openstatus
6
fork
atom
Openstatus
www.openstatus.dev
6
fork
atom
overview
issues
pulls
pipelines
chore: relaxed status-event messages
Maximilian Kaske
5 months ago
e3d4feac
f14e8e1e
+4
-4
1 changed file
expand all
collapse all
unified
split
apps
status-page
src
components
status-page
status-events.tsx
+4
-4
apps/status-page/src/components/status-page/status-events.tsx
···
6
6
import { formatDistanceStrict } from "date-fns";
7
7
import { status } from "./messages";
8
8
9
9
-
// TODO: rename file to status-event and move the `StatusEvents` component to the page level.
10
10
-
11
9
export function StatusEvent({
12
10
className,
13
11
children,
···
268
266
);
269
267
}
270
268
271
271
-
// TODO: should support markdown
272
269
export function StatusEventTimelineMessage({
273
270
className,
274
271
children,
···
276
273
}: React.ComponentProps<"div">) {
277
274
return (
278
275
<div
279
279
-
className={cn("py-1.5 font-mono text-foreground/90 text-sm", className)}
276
276
+
className={cn(
277
277
+
"py-1.5 font-mono text-foreground/90 text-sm/relaxed",
278
278
+
className,
279
279
+
)}
280
280
{...props}
281
281
>
282
282
{children}