Input font size

This commit is contained in:
Sebastien Castiel
2023-12-06 12:52:42 -05:00
parent 0bc3e0eedd
commit 4c047c635a
2 changed files with 12 additions and 3 deletions

View File

@@ -64,7 +64,11 @@ export function ExpenseForm({ group, expense, onSubmit }: Props) {
<FormItem className="order-1">
<FormLabel>Expense title</FormLabel>
<FormControl>
<Input placeholder="Monday evening restaurant" {...field} />
<Input
placeholder="Monday evening restaurant"
className="text-base"
{...field}
/>
</FormControl>
<FormDescription>
Enter a description for the expense.
@@ -111,6 +115,7 @@ export function ExpenseForm({ group, expense, onSubmit }: Props) {
<FormLabel>Amount</FormLabel>
<FormControl>
<Input
className="text-base"
type="number"
min={0.01}
step={0.01}

View File

@@ -67,7 +67,11 @@ export function GroupForm({ group, onSubmit }: Props) {
<FormItem>
<FormLabel>Group name</FormLabel>
<FormControl>
<Input placeholder="Summer vacations" {...field} />
<Input
className="text-base"
placeholder="Summer vacations"
{...field}
/>
</FormControl>
<FormDescription>
Enter a name for your group.
@@ -99,7 +103,7 @@ export function GroupForm({ group, onSubmit }: Props) {
</FormLabel>
<FormControl>
<div className="flex gap-2">
<Input {...field} />
<Input className="text-base" {...field} />
<Button
variant="destructive"
onClick={() => remove(index)}