Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Add min-height to .search-result-item__title
Browse files Browse the repository at this point in the history
To prevent letters like 'g' from being cut off due to `text-overflow: ellipsis;` and `overflow: hidden;`, I have included `min-height: 30px;` for correct display.
  • Loading branch information
kasperbirch1 committed May 2, 2023
1 parent 11cbde0 commit eb5447e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/stories/Library/card-list-item/card-list-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,6 @@
margin-top: 16px;
overflow: hidden;
text-overflow: ellipsis;
min-height: 30px;
}
}

0 comments on commit eb5447e

Please sign in to comment.