From 7438cde6e44e9afbc5994f921a9ae4f13d752425 Mon Sep 17 00:00:00 2001 From: c99rahul Date: Fri, 7 Feb 2025 21:47:52 +0530 Subject: [PATCH 1/2] Change the borderTopWidth value for hr from an integer value to a pixel value --- src/styles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles.js b/src/styles.js index a4d6967..42eb43d 100644 --- a/src/styles.js +++ b/src/styles.js @@ -1470,7 +1470,7 @@ module.exports = { }, hr: { borderColor: 'var(--tw-prose-hr)', - borderTopWidth: 1, + borderTopWidth: '1px', }, blockquote: { fontWeight: '500', From 1e16821d6d66c9c65146a43613c741c484e66d32 Mon Sep 17 00:00:00 2001 From: Adam Wathan <4323180+adamwathan@users.noreply.github.com> Date: Thu, 13 Feb 2025 08:37:52 -0500 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9690d2..29493f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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