Skip to content

Commit fa721a6

Browse files
committed
fix: add min-h-11 to inputs (exclude file), move screens into extend
1 parent f47e525 commit fa721a6

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

apps/frontend/src/components/ui/input.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ function Input({ className, type, size, ref, ...props }: InputProps) {
2828
return (
2929
<input
3030
type={type}
31-
className={cn(inputVariants({ size, className }))}
31+
className={cn(
32+
inputVariants({ size, className }),
33+
type !== "file" && "min-h-11"
34+
)}
3235
ref={ref}
3336
{...props}
3437
/>

apps/frontend/tailwind.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ export default {
2222
"2xl": "1400px",
2323
},
2424
},
25-
screens: {
26-
mobile: "375px",
27-
},
2825
extend: {
26+
screens: {
27+
mobile: "375px",
28+
},
2929
fontFamily: {
3030
sans: ["Kanit", "sans-serif"],
3131
display: ["Sirin Stencil", "cursive"],

0 commit comments

Comments
 (0)