Skip to content

Commit

Permalink
Activity: allow item text to be two lines (#1029)
Browse files Browse the repository at this point in the history
  • Loading branch information
sohkai committed Sep 10, 2019
1 parent 92c1419 commit 33b8a09
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/Activity/ActivityItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,12 @@ const ItemContent = React.memo(
({ text = '' }) => (
<p
css={`
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
white-space: normal;
word-break: break-word;
overflow: hidden;
${textStyle('body2')}
`}
>
Expand Down

0 comments on commit 33b8a09

Please sign in to comment.