mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Reset all properties when using line-clamp-none (#10876)
* reset other properties on `line-clamp-none` * update CHANGELOG
This commit is contained in:
parent
71035b7bbe
commit
5b77b42574
@ -18,7 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Add `caption-side` utilities ([#10470](https://github.com/tailwindlabs/tailwindcss/pull/10470))
|
||||
- Add `justify-normal` and `justify-stretch` utilities ([#10560](https://github.com/tailwindlabs/tailwindcss/pull/10560))
|
||||
- Add `content-normal` and `content-stretch` utilities ([#10645](https://github.com/tailwindlabs/tailwindcss/pull/10645))
|
||||
- Add `line-clamp` utilities from `@tailwindcss/line-clamp` to core ([#10768](https://github.com/tailwindlabs/tailwindcss/pull/10768))
|
||||
- Add `line-clamp` utilities from `@tailwindcss/line-clamp` to core ([#10768](https://github.com/tailwindlabs/tailwindcss/pull/10768), [#10876](https://github.com/tailwindlabs/tailwindcss/pull/10876))
|
||||
- Support ESM and TypeScript config files ([#10785](https://github.com/tailwindlabs/tailwindcss/pull/10785))
|
||||
- Add `list-style-image` utilities ([#10817](https://github.com/tailwindlabs/tailwindcss/pull/10817))
|
||||
- Use `:is` to make important selector option insensitive to DOM order ([#10835](https://github.com/tailwindlabs/tailwindcss/pull/10835))
|
||||
|
||||
@ -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',
|
||||
},
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
@ -454,7 +454,10 @@ crosscheck(({ stable, oxide }) => {
|
||||
overflow: hidden;
|
||||
}
|
||||
.line-clamp-none {
|
||||
-webkit-line-clamp: unset;
|
||||
-webkit-line-clamp: none;
|
||||
-webkit-box-orient: horizontal;
|
||||
display: block;
|
||||
overflow: visible;
|
||||
}
|
||||
.scale-50 {
|
||||
--tw-scale-x: 0.5;
|
||||
@ -1019,7 +1022,10 @@ crosscheck(({ stable, oxide }) => {
|
||||
overflow: hidden;
|
||||
}
|
||||
.line-clamp-none {
|
||||
-webkit-line-clamp: unset;
|
||||
-webkit-line-clamp: none;
|
||||
-webkit-box-orient: horizontal;
|
||||
display: block;
|
||||
overflow: visible;
|
||||
}
|
||||
.scale-50 {
|
||||
--tw-scale-x: 0.5;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user