Skip to content

Commit aa412fc

Browse files
committed
fix: mobile zoom on input focus in safari
1 parent 06bcdeb commit aa412fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/modules/common/components/input/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
4343
name={name}
4444
placeholder=" "
4545
className={clsx(
46-
"pt-4 pb-1 block w-full px-4 mt-0 bg-transparent border appearance-none focus:outline-none focus:ring-0 focus:border-gray-400 border-gray-200",
46+
"pt-4 pb-1 block w-full px-4 mt-0 bg-transparent border appearance-none focus:outline-none focus:ring-0 focus:border-gray-400 border-gray-200 text-[16px]",
4747
{
4848
"border-rose-500 focus:border-rose-500": hasError,
4949
}

src/modules/search/components/search-box/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const ControlledSearchBox = ({
5252
type="search"
5353
value={value}
5454
onChange={onChange}
55-
className="text-base-regular placeholder:transition-colors placeholder:text-gray-500 focus:placeholder:text-gray-900 focus:outline-none flex-1 bg-transparent"
55+
className="text-base-regular placeholder:transition-colors placeholder:text-gray-500 focus:placeholder:text-gray-900 focus:outline-none flex-1 bg-transparent text-[16px]"
5656
/>
5757
{value && (
5858
<button

0 commit comments

Comments
 (0)