You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This caused by the UA stylesheet applying padding-top: 1px to input::-webkit-datetime-edit and input::-webkit-datetime-edit-year-field (and month-field, day-field etc).
Hey thanks for reporting this @morphsteve. This is the same issue as #38, so I'm going to close this issue in favor of that one. We have been able to able to reproduce this, and hope to eventually get this fixed 👍
What version of @tailwindcss/forms are you using?
0.3.3
What version of Node.js are you using?
v14.17.0
What browser are you using?
Safari 14.1.2
What operating system are you using?
macOS 11.5.2
Reproduction repository
https://github.com/tailwindlabs/tailwindcss-forms
Describe your issue
Date inputs on Safari macOS are around 4px taller than other inputs. This is evident on https://tailwindcss-forms.vercel.app/:
This caused by the UA stylesheet applying
padding-top: 1px
toinput::-webkit-datetime-edit
andinput::-webkit-datetime-edit-year-field
(and month-field, day-field etc).May relate to #38.
I added the following base styles to my app stylesheet to compensate:
The text was updated successfully, but these errors were encountered: