From 90b0642bddde1edc3ed623696b0d025eaabe7b4c Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister Date: Thu, 7 Dec 2023 11:30:14 +0100 Subject: [PATCH] fix: init app use same width numbers (#2155) --- init.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.ts b/init.ts index 2adb736a..7ece9aeb 100644 --- a/init.ts +++ b/init.ts @@ -204,7 +204,7 @@ export default function Counter(props: CounterProps) { return (
-

{props.count}

+

{props.count}

); @@ -441,6 +441,9 @@ html { .hover\\:bg-gray-200:hover { background-color: #e5e7eb; } +.tabular-nums { + font-variant-numeric: tabular-nums; +} `; const APP_WRAPPER = `import { type PageProps } from "$fresh/server.ts";