Make max-height work for truncation
dibari opened this issue · comments
Eric Di Bari commented
Currently, the element must have a height attribute set. Many times a max-height attribute would be better used instead. Make max-height work and have precedence over height (if height is set)
Eric Di Bari commented
Max-height support was now added, in addition to the existing height. Specifically:
- As expected, height will ensure a uniform element height, where max-height will conform vertically
- Only one is required: height or max-height
- max-height takes precedence over height