diff options
author | Joris | 2022-10-09 19:18:57 +0200 |
---|---|---|
committer | Joris | 2022-10-09 19:18:57 +0200 |
commit | a1960c7e10691e460b835446bb358c27e971fba8 (patch) | |
tree | 03ba549b666d858adcf35780a643e8d320cbc70c /src | |
parent | 01e217771b031cca4c123e9efc3c14ca1e406a70 (diff) |
Adapt font size to small devices
Diffstat (limited to 'src')
-rw-r--r-- | src/view/form.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) |