Skip to content

Change the borderTopWidth value for hr from integer to a pixel value#379

Merged
adamwathan merged 2 commits intotailwindlabs:mainfrom
rahuldotdev:fix-prose-hr-border
Feb 13, 2025
Merged

Change the borderTopWidth value for hr from integer to a pixel value#379
adamwathan merged 2 commits intotailwindlabs:mainfrom
rahuldotdev:fix-prose-hr-border

Conversation

@rahuldotdev
Copy link
Copy Markdown
Contributor

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
Copy Markdown

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
Copy Markdown
Member

Good catch 🤦🏻‍♂️ Thanks!

@adamwathan adamwathan merged commit 3e75cb0 into tailwindlabs:main Feb 13, 2025
@rahuldotdev rahuldotdev 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 <4323180+adamwathan@users.noreply.github.com>
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