Skip to content

Conversation

@c99rahul
Copy link
Contributor

@c99rahul c99rahul commented Feb 7, 2025

Noticed an invalid border width (border-top-width) value for the hr selector in DevTools. Despite that, the hr element is appearing as expected, inheriting the valid border width value from the preflight.

Screenshot From 2025-02-07 21-29-16

  • Add a pixel string value for borderTopWidth property in the hr object in styles.js

@vercel
Copy link

vercel bot commented Feb 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwindcss-typography ❌ Failed (Inspect) Feb 13, 2025 1:38pm

@adamwathan
Copy link
Member

Good catch 🤦🏻‍♂️ Thanks!

@adamwathan adamwathan merged commit 3e75cb0 into tailwindlabs:main Feb 13, 2025
2 checks passed
@c99rahul c99rahul deleted the fix-prose-hr-border branch April 16, 2025 03:20
philipp-spiess pushed a commit that referenced this pull request Sep 19, 2025
…379)

* Change the borderTopWidth value for hr from an integer value to a pixel value

* Update CHANGELOG.md

---------

Co-authored-by: Adam Wathan <[email protected]>
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.

2 participants