Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't reset horizontal padding on date/time pseudo-elements #14959

Merged
merged 3 commits into from
Nov 11, 2024

Conversation

adamwathan
Copy link
Member

Turns out all of these date/time pseudo elements have a bit of horizontal padding on them that we don't want to throw away when fixing the height issue, so this PR updates our reset to only remove vertical padding.

Here's a demo showing the difference, test in Safari or Chrome to see the difference in horizontal spacing:

https://play.tailwindcss.com/Opwa7pkDFP?file=css

@adamwathan adamwathan requested a review from a team as a code owner November 11, 2024 17:03
@adamwathan adamwathan merged commit 50d7355 into next Nov 11, 2024
1 check passed
@adamwathan adamwathan deleted the fix/dont-reset-horizontal-datetime-padding branch November 11, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant