Fix new hashtag page's items not being full-width on mobile (#9852)
Fix #9845
This commit is contained in:
1 parent
32daecffef
commit
b506ce1197
3 files changed
+11
-3
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user