From a1960c7e10691e460b835446bb358c27e971fba8 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 9 Oct 2022 19:18:57 +0200 Subject: Adapt font size to small devices --- src/view/form.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/view') diff --git a/src/view/form.ts b/src/view/form.ts index 67df0d4..77a8cb7 100644 --- a/src/view/form.ts +++ b/src/view/form.ts @@ -59,7 +59,7 @@ type LabelInputParams = { function labelInput({ className, type, name, label, checked, value }: LabelInputParams) { return h('label', - { className }, + className !== undefined ? { className } : {}, h('input', { type, name, checked, value }), label ) -- cgit v1.2.3