Ring face's unit sized inline relative to the reading, so pre-commit's arbitrary font size check passes

This commit is contained in:
2026-11-02 07:03:39 +01:00
parent 66588c58aa
commit c675d2041c
@@ -290,7 +290,11 @@ export function CentreReading({
>
{children ?? written}
{unit ? (
<span className="text-[0.4em] text-muted-foreground">{unit}</span>
// Relative to the fitted reading, so an inline value rather than an
// arbitrary Tailwind class.
<span className="text-muted-foreground" style={{ fontSize: "0.4em" }}>
{unit}
</span>
) : null}
</span>
</div>