Skip to content

Commit 3e75cb0

Browse files
c99rahuladamwathan
andauthored
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 <4323180+adamwathan@users.noreply.github.com>
1 parent 1a6972e commit 3e75cb0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
- Nothing yet!
10+
### Fixed
11+
12+
- Include unit in `hr` border-width value ([#379](https://github.com/tailwindlabs/tailwindcss-typography/pull/379)
1113

1214
## [0.5.16] - 2025-01-07
1315

src/styles.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1470,7 +1470,7 @@ module.exports = {
14701470
},
14711471
hr: {
14721472
borderColor: 'var(--tw-prose-hr)',
1473-
borderTopWidth: 1,
1473+
borderTopWidth: '1px',
14741474
},
14751475
blockquote: {
14761476
fontWeight: '500',

0 commit comments

Comments
 (0)