Skip to content

Commit 23ae352

Browse files
authored
Merge pull request #1079 from tailwindcss/fix-hr-base-styles
Fix base styles for horizontal rules
2 parents db1bd56 + 84964c7 commit 23ae352

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

__tests__/fixtures/tailwind-output-important.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ h3,
384384
h4,
385385
h5,
386386
h6,
387+
hr,
387388
figure,
388389
p,
389390
pre {
@@ -461,7 +462,7 @@ html {
461462
*/
462463

463464
hr {
464-
border-width: 1px;
465+
border-top-width: 1px;
465466
}
466467

467468
/**

__tests__/fixtures/tailwind-output.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ h3,
384384
h4,
385385
h5,
386386
h6,
387+
hr,
387388
figure,
388389
p,
389390
pre {
@@ -461,7 +462,7 @@ html {
461462
*/
462463

463464
hr {
464-
border-width: 1px;
465+
border-top-width: 1px;
465466
}
466467

467468
/**

src/plugins/css/preflight.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ h3,
3434
h4,
3535
h5,
3636
h6,
37+
hr,
3738
figure,
3839
p,
3940
pre {
@@ -109,7 +110,7 @@ html {
109110
* Ensure horizontal rules are visible by default
110111
*/
111112
hr {
112-
border-width: 1px;
113+
border-top-width: 1px;
113114
}
114115

115116
/**

0 commit comments

Comments
 (0)