2
0

fix(engine): 🐛 Attempt to fix auto zoom on Android

This commit is contained in:
Baptiste Arnaud
2022-03-29 10:38:24 +02:00
parent 236c63d7db
commit 8d6330f6fd
3 changed files with 13 additions and 2 deletions

View File

@ -4,6 +4,7 @@
background: transparent;
flex: 1 1 0%;
width: 100%;
font-size: 16px;
}
.PhoneInputCountry {

View File

@ -35,7 +35,11 @@ export const DateForm = ({
)}
<input
className="focus:outline-none flex-1 w-full text-input"
style={{ minHeight: '2rem', minWidth: '100px' }}
style={{
minHeight: '2rem',
minWidth: '100px',
fontSize: '16px',
}}
type={hasTime ? 'datetime-local' : 'date'}
onChange={(e) =>
setInputValues({ ...inputValues, from: e.target.value })
@ -50,7 +54,11 @@ export const DateForm = ({
)}
<input
className="focus:outline-none flex-1 w-full text-input ml-2"
style={{ minHeight: '2rem', minWidth: '100px' }}
style={{
minHeight: '2rem',
minWidth: '100px',
fontSize: '16px',
}}
type={hasTime ? 'datetime-local' : 'date'}
onChange={(e) =>
setInputValues({ ...inputValues, to: e.target.value })

View File

@ -132,6 +132,7 @@ const ShortTextInput = React.forwardRef(
className="focus:outline-none bg-transparent px-4 py-4 flex-1 w-full text-input"
type="text"
required
style={{ fontSize: '16px' }}
{...props}
/>
)
@ -152,6 +153,7 @@ const LongTextInput = React.forwardRef(
rows={4}
data-testid="textarea"
required
style={{ fontSize: '16px' }}
{...props}
/>
)