Skip to content

Commit afad17c

Browse files
committed
fix: update input font on mobile
1 parent 1db9aa0 commit afad17c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

components/ui/input.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import * as React from "react"
1+
import * as React from "react";
22

3-
import { cn } from "@/lib/utils"
3+
import { cn } from "@/lib/utils";
44

55
export interface InputProps
66
extends React.InputHTMLAttributes<HTMLInputElement> {}
@@ -11,15 +11,15 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
1111
<input
1212
type={type}
1313
className={cn(
14-
"flex h-10 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base md:text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
15-
className
14+
"flex h-10 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
15+
className,
1616
)}
1717
ref={ref}
1818
{...props}
1919
/>
20-
)
21-
}
22-
)
23-
Input.displayName = "Input"
20+
);
21+
},
22+
);
23+
Input.displayName = "Input";
2424

25-
export { Input }
25+
export { Input };

0 commit comments

Comments
 (0)