Skip to content

Commit

Permalink
fix(viewer): 🐛 Fix date picker UI on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Mar 14, 2022
1 parent e4a3722 commit 8954730
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ export const DateForm = ({
<p className="font-semibold mr-2">{labels?.from ?? 'From:'}</p>
)}
<input
className="focus:outline-none bg-transparent flex-1 w-full text-input"
className="focus:outline-none flex-1 w-full text-input"
style={{ minHeight: '2rem', minWidth: '100px' }}
type={hasTime ? 'datetime-local' : 'date'}
onChange={(e) =>
setInputValues({ ...inputValues, from: e.target.value })
Expand All @@ -48,7 +49,8 @@ export const DateForm = ({
<p className="font-semibold">{labels?.to ?? 'To:'}</p>
)}
<input
className="focus:outline-none bg-transparent flex-1 w-full text-input ml-2"
className="focus:outline-none flex-1 w-full text-input ml-2"
style={{ minHeight: '2rem', minWidth: '100px' }}
type={hasTime ? 'datetime-local' : 'date'}
onChange={(e) =>
setInputValues({ ...inputValues, to: e.target.value })
Expand Down

2 comments on commit 8954730

@vercel
Copy link

@vercel vercel bot commented on 8954730 Mar 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-v2 – ./apps/builder

app.typebot.io
builder-v2-git-main-typebot-io.vercel.app
builder-v2-typebot-io.vercel.app

Please sign in to comment.