From 9f69aa3cb18799600d1ea4a7a38e160d9be9a5ab Mon Sep 17 00:00:00 2001 From: unarist Date: Thu, 25 May 2017 09:23:54 +0900 Subject: [PATCH] Prevent contents of the status placeholder from overflowing (#3287) Since long lines may overflow and cause the status-list horizontally scrollable, I added `overflow: hidden` to placeholder contents to prevent it. --- app/javascript/mastodon/components/status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/components/status.js b/app/javascript/mastodon/components/status.js index 549592c6b..a1f52226f 100644 --- a/app/javascript/mastodon/components/status.js +++ b/app/javascript/mastodon/components/status.js @@ -95,7 +95,7 @@ class Status extends ImmutablePureComponent { if (isIntersecting === false && isHidden) { return ( -
+
{status.getIn(['account', 'display_name']) || status.getIn(['account', 'username'])} {status.get('content')}