From: unarist Date: Thu, 25 May 2017 00:23:54 +0000 (+0900) Subject: Prevent contents of the status placeholder from overflowing (#3287) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=9f69aa3cb18799600d1ea4a7a38e160d9be9a5ab;p=mastodon.git 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. --- 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')}