From ebd3c712acad58ea12559b887d2c8c605b002c51 Mon Sep 17 00:00:00 2001 From: Mark Lawlor Date: Sat, 16 Aug 2025 23:26:21 +1000 Subject: [PATCH] fix: 0em value --- src/runtime/native/styles/units.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/native/styles/units.ts b/src/runtime/native/styles/units.ts index 27457d25..dc2a04f3 100644 --- a/src/runtime/native/styles/units.ts +++ b/src/runtime/native/styles/units.ts @@ -5,7 +5,7 @@ import type { StyleFunctionResolver } from "./resolve"; export const em: StyleFunctionResolver = (resolve, func, get) => { let value = func[2]; - if (!value) { + if (typeof value !== "number") { return; }