Double the threshold for "read more" functionality (#8835)

This commit is contained in:
Eugen Rochko 2018-10-01 03:38:10 +02:00 committed by GitHub
parent 65f04e6046
commit 5d5d1b528e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ import { FormattedMessage } from 'react-intl';
import Permalink from './permalink'; import Permalink from './permalink';
import classnames from 'classnames'; 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 { export default class StatusContent extends React.PureComponent {