Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10 from teamleadercrm/overflow-ellipsis
Browse files Browse the repository at this point in the history
Add overflow-ellipsis styles
  • Loading branch information
driesd authored Sep 19, 2019
2 parents 1c2c5ea + 0238adb commit acc829a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@

### Fixed

## [0.2.1] - 2019-09-19

### Added

- Added the `.overflow-ellipsis` selector which forces the text on one line and overflows with an ellipsis. ([@driesd](https://github.com/driesd) in [#10](https://github.com/teamleadercrm/ui-typography/pull/10))

## [0.2.0] - 2019-09-09

### :boom: Breaking changes
Expand Down
6 changes: 6 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,10 @@

.monospaced {
font-feature-settings: "tnum" on;
}

.overflow-ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@teamleader/ui-typography",
"private": false,
"version": "0.2.0",
"version": "0.2.1",
"description": "Teamleader UI typography",
"main": "index.css",
"repository": {
Expand Down

0 comments on commit acc829a

Please sign in to comment.