Skip to content

Commit

Permalink
Merge pull request tailwindlabs#1079 from tailwindcss/fix-hr-base-styles
Browse files Browse the repository at this point in the history
Fix base styles for horizontal rules
  • Loading branch information
adamwathan authored Aug 14, 2019
2 parents db1bd56 + 84964c7 commit 23ae352
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion __tests__/fixtures/tailwind-output-important.css
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
Expand Down Expand Up @@ -461,7 +462,7 @@ html {
*/

hr {
border-width: 1px;
border-top-width: 1px;
}

/**
Expand Down
3 changes: 2 additions & 1 deletion __tests__/fixtures/tailwind-output.css
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
Expand Down Expand Up @@ -461,7 +462,7 @@ html {
*/

hr {
border-width: 1px;
border-top-width: 1px;
}

/**
Expand Down
3 changes: 2 additions & 1 deletion src/plugins/css/preflight.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
Expand Down Expand Up @@ -109,7 +110,7 @@ html {
* Ensure horizontal rules are visible by default
*/
hr {
border-width: 1px;
border-top-width: 1px;
}

/**
Expand Down

0 comments on commit 23ae352

Please sign in to comment.