Ring face's unit sized inline relative to the reading, so pre-commit's arbitrary font size check passes
This commit is contained in:
@@ -290,7 +290,11 @@ export function CentreReading({
|
|||||||
>
|
>
|
||||||
{children ?? written}
|
{children ?? written}
|
||||||
{unit ? (
|
{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}
|
) : null}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user