diff --git a/__tests__/fixtures/tailwind-output-important.css b/__tests__/fixtures/tailwind-output-important.css index a5a8fad90..6df7a1301 100644 --- a/__tests__/fixtures/tailwind-output-important.css +++ b/__tests__/fixtures/tailwind-output-important.css @@ -456,6 +456,14 @@ html { border-color: #e2e8f0; } +/* + * Ensure horizontal rules are visible by default + */ + +hr { + border-width: 1px; +} + /** * Undo the `border-style: none` reset that Normalize applies to images so that * our `border-{width}` utilities have the expected effect. diff --git a/__tests__/fixtures/tailwind-output.css b/__tests__/fixtures/tailwind-output.css index 7057331e7..91809f2ed 100644 --- a/__tests__/fixtures/tailwind-output.css +++ b/__tests__/fixtures/tailwind-output.css @@ -456,6 +456,14 @@ html { border-color: #e2e8f0; } +/* + * Ensure horizontal rules are visible by default + */ + +hr { + border-width: 1px; +} + /** * Undo the `border-style: none` reset that Normalize applies to images so that * our `border-{width}` utilities have the expected effect. diff --git a/src/plugins/css/preflight.css b/src/plugins/css/preflight.css index 80344fc1f..0bfabec7e 100644 --- a/src/plugins/css/preflight.css +++ b/src/plugins/css/preflight.css @@ -105,6 +105,13 @@ html { border-color: theme('borderColor.default', currentColor); } +/* + * Ensure horizontal rules are visible by default + */ +hr { + border-width: 1px; +} + /** * Undo the `border-style: none` reset that Normalize applies to images so that * our `border-{width}` utilities have the expected effect.