[Glitch] Fix new hashtag page's items not being full-width on mobile
Port b506ce1197
to glitch-soc
This commit is contained in:
@ -62,7 +62,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();
|
||||
|
Reference in New Issue
Block a user