Fix new hashtag page's items not being full-width on mobile (#9852)
Fix #9845
This commit is contained in:
parent
32daecffef
commit
b506ce1197
3 changed files with 11 additions and 3 deletions
|
@ -54,7 +54,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
|
|||
|
||||
_measureHeight (heightJustChanged) {
|
||||
if (this.props.measureHeight && this.node) {
|
||||
scheduleIdleTask(() => this.node && this.setState({ height: this.node.scrollHeight }));
|
||||
scheduleIdleTask(() => this.node && this.setState({ height: Math.ceil(this.node.scrollHeight) + 1 }));
|
||||
|
||||
if (this.props.onHeightChange && heightJustChanged) {
|
||||
this.props.onHeightChange();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue