Openstatus www.openstatus.dev

chore: relaxed status-event messages

+4 -4
+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 - // TODO: rename file to status-event and move the `StatusEvents` component to the page level. 10 - 11 9 export function StatusEvent({ 12 10 className, 13 11 children, ··· 268 266 ); 269 267 } 270 268 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 - className={cn("py-1.5 font-mono text-foreground/90 text-sm", className)} 276 + className={cn( 277 + "py-1.5 font-mono text-foreground/90 text-sm/relaxed", 278 + className, 279 + )} 280 280 {...props} 281 281 > 282 282 {children}