Reset all properties when using line-clamp-none (#10876)

* reset other properties on `line-clamp-none`

* update CHANGELOG
This commit is contained in:
Robin Malfait 2023-03-27 18:56:14 +02:00 • committed by GitHub
parent 71035b7bbe
commit 5b77b42574
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 4 deletions

View file

@ -717,7 +717,12 @@ export let corePlugins = {
)
addUtilities({
'.line-clamp-none': { '-webkit-line-clamp': 'unset' },
'.line-clamp-none': {
overflow: 'visible',
display: 'block',
'-webkit-box-orient': 'horizontal',
'-webkit-line-clamp': 'none',
},
})
},