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
HTML Dialog elements are styled by the useragent, specifically a padding of 16px is added, a border of 1, and text and background colors are set. All of this feels like stuff missing from preflight. It actually took me some time debugging just to find out that the padding is coming from the useragent, as I was not expecting it.
Hey thanks for bringing this up! Let's keep the discussion for all of this in the PR so we can handle it in one place 👍 Going to close this as an issue and we can make a decision about this over there instead.
What version of Tailwind CSS are you using?
latest (3.3.1)
What build tool (or framework if it abstracts the build tool) are you using?
create-react-app (post-css)
What version of Node.js are you using?
n/a
What browser are you using?
Chrome (Version 112.0.5615.138 (Official Build) (64-bit))
What operating system are you using?
Windows 11 (22H2)
Reproduction URL
https://play.tailwindcss.com/H833bFMZwQ
Describe your issue
HTML Dialog elements are styled by the useragent, specifically a padding of 16px is added, a border of 1, and text and background colors are set. All of this feels like stuff missing from preflight. It actually took me some time debugging just to find out that the padding is coming from the useragent, as I was not expecting it.
Some links:
The text was updated successfully, but these errors were encountered: