Change the borderTopWidth value for hr from integer to a pixel value (#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]>
This commit is contained in:
Rahul
2025-02-13 08:39:53 -05:00
committed by GitHub
co-authored by Adam Wathan
parent 3ed85b28f1
commit 90124ba7e5
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
- Nothing yet!
### Fixed
- Include unit in `hr` border-width value ([#379](https://github.com/tailwindlabs/tailwindcss-typography/pull/379)
## [0.5.16] - 2025-01-07
+1 -1
View File
@@ -1470,7 +1470,7 @@ module.exports = {
},
hr: {
borderColor: 'var(--tw-prose-hr)',
borderTopWidth: 1,
borderTopWidth: '1px',
},
blockquote: {
fontWeight: '500',