Skip to content

Commit

Permalink
Change the borderTopWidth value for hr from integer to a pixel value (#…
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
c99rahul and adamwathan authored Feb 13, 2025
1 parent 1a6972e commit 3e75cb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,7 @@ module.exports = {
},
hr: {
borderColor: 'var(--tw-prose-hr)',
borderTopWidth: 1,
borderTopWidth: '1px',
},
blockquote: {
fontWeight: '500',
Expand Down

0 comments on commit 3e75cb0

Please sign in to comment.