<!-- Release notes authoring guidelines: http://keepachangelog.com/ -->

# Line Clamp Release Notes

## 2.12.0

### Changed

- Changed `white-space` property to `pre-line` in `slds-line-clamp` in consideration of content that has pre-formatted line breaks.

### Added

- Added an X-Small modifier that truncates text after two lines.

## 2.11.0

### Added

- Added the Line Clamp utility with four modifier options:
  - `.slds-line-clamp` - clamps at 3 lines, value provided by `line-clamp` token.
  - `.slds-line-clamp_small` - clamps at 3 lines
  - `.slds-line-clamp_medium` - clamps at 5 lines
  - `.slds-line-clamp_large` - clamps at 7 lines
