Skip to content

Commit

Permalink
use text-decoration-line instead of text-decoration
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Williams authored and Oliver Williams committed Dec 10, 2021
1 parent 429fe07 commit 5d15dee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/corePlugins.js
Expand Up @@ -1660,10 +1660,10 @@ export let corePlugins = {

textDecoration: ({ addUtilities }) => {
addUtilities({
'.underline': { 'text-decoration': 'underline' },
'.overline': { 'text-decoration': 'overline' },
'.line-through': { 'text-decoration': 'line-through' },
'.no-underline': { 'text-decoration': 'none' },
'.underline': { 'text-decoration-line': 'underline' },
'.overline': { 'text-decoration-line': 'overline' },
'.line-through': { 'text-decoration-line': 'line-through' },
'.no-underline': { 'text-decoration-line': 'none' },
})
},

Expand Down
2 changes: 1 addition & 1 deletion tests/basic-usage.test.css
Expand Up @@ -805,7 +805,7 @@
--tw-text-opacity: 0.1;
}
.underline {
text-decoration: underline;
text-decoration-line: underline;
}
.decoration-red-600 {
text-decoration-color: #dc2626;
Expand Down

0 comments on commit 5d15dee

Please sign in to comment.