Let date mentions inherit surrounding font weight

The .mention style fixes font-weight to 500, which prevented a date
mention placed inside a heading from rendering bold like the rest of the
heading. Date mentions are plain text, so they now inherit the font
weight of their context.
This commit is contained in:
Claude
2026-06-08 16:55:24 +00:00
parent 3446fe8ff7
commit a065138ecb
+6
View File
@@ -570,6 +570,12 @@ width: 100%;
gap: 0;
}
/* Date mentions are plain text, so they inherit the surrounding font weight
(e.g. bold when placed inside a heading). */
&[data-type="date"] {
font-weight: inherit;
}
&.mention-user::before {
content: "@";
}