Closed morphsteve closed 2 years ago
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: