Commit 57385a6
authored
docs: clarify lineClamp display requirements (#782)
## Summary
- documents `display: block` and `display: -webkit-box` as accepted
display values
- clarifies that `lineClamp` currently requires `display: block`
- points WebKit-style clamping users to `display: -webkit-box` with
`WebkitLineClamp`
Closes #778
## Validation
- `npm exec --cache "D:\grand-final prr\.cache\npm-satori" --yes
--package prettier@2.7.1 -- prettier --check README.md`
- `git diff --check`
## Notes
- This is documentation-only. The existing implementation and tests
already treat non-block `lineClamp` as unsupported.1 parent b712d5b commit 57385a6
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
| 303 | + | |
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| |||
0 commit comments