]> cat aescling's git repositories - mastodon.git/commitdiff
Double the threshold for "read more" functionality (#8835)
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 1 Oct 2018 01:38:10 +0000 (03:38 +0200)
committerGitHub <noreply@github.com>
Mon, 1 Oct 2018 01:38:10 +0000 (03:38 +0200)
app/javascript/mastodon/components/status_content.js

index f221474f39248a36817e34d4e14bf2ecaa177e11..eda7d6ac3f79d4d3d1527fcec9544dc388445fbf 100644 (file)
@@ -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 {