Skip to content

Commit

Permalink
🎨Add: appearance textfield
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethen1264 committed Dec 29, 2024
1 parent dd3e733 commit e3e6c83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const CalendarInput: React.FC<Props> = ({
type="number"
value={value}
onChange={onChange}
className={`${width} rounded-md bg-neutral-n50 py-2 text-center text-body1 text-neutral-n20`}
className={`${width} rounded-md bg-neutral-n50 py-2 text-center text-body1 text-neutral-n20 [appearance:textfield] [&::-webkit-inner-spin-button]:hidden [&::-webkit-outer-spin-button]:hidden`}
placeholder={placeholder}
/>
);
Expand Down

0 comments on commit e3e6c83

Please sign in to comment.