@@ -348,19 +348,19 @@ const MarkdownGfmAlert: FC<MarkdownGfmAlertProps> = ({
348
348
"[&_p]:m-0 [&_p]:mb-2" ,
349
349
350
350
alertType === "important" &&
351
- "border-highlight-purple [&_p:first-child ]:text-highlight-purple" ,
351
+ "border-highlight-purple [&_p:first-of-type ]:text-highlight-purple" ,
352
352
353
353
alertType === "warning" &&
354
- "border-border-warning [&_p:first-child ]:text-border-warning" ,
354
+ "border-border-warning [&_p:first-of-type ]:text-border-warning" ,
355
355
356
356
alertType === "note" &&
357
- "border-highlight-sky [&_p:first-child ]:text-highlight-sky" ,
357
+ "border-highlight-sky [&_p:first-of-type ]:text-highlight-sky" ,
358
358
359
359
alertType === "tip" &&
360
- "border-highlight-green [&_p:first-child ]:text-highlight-green" ,
360
+ "border-highlight-green [&_p:first-of-type ]:text-highlight-green" ,
361
361
362
362
alertType === "caution" &&
363
- "border-highlight-red [&_p:first-child ]:text-highlight-red" ,
363
+ "border-highlight-red [&_p:first-of-type ]:text-highlight-red" ,
364
364
) }
365
365
>
366
366
< p className = "font-bold" >