From 5d5d1b528eda560191b2813714c9e461fda3c9d8 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 1 Oct 2018 03:38:10 +0200 Subject: [PATCH] Double the threshold for "read more" functionality (#8835) --- app/javascript/mastodon/components/status_content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/components/status_content.js b/app/javascript/mastodon/components/status_content.js index f221474f3..eda7d6ac3 100644 --- a/app/javascript/mastodon/components/status_content.js +++ b/app/javascript/mastodon/components/status_content.js @@ -6,7 +6,7 @@ import { FormattedMessage } from 'react-intl'; import Permalink from './permalink'; import classnames from 'classnames'; -const MAX_HEIGHT = 322; // 20px * 16 (+ 2px padding at the top) +const MAX_HEIGHT = 642; // 20px * 32 (+ 2px padding at the top) export default class StatusContent extends React.PureComponent {