forked from newthuhole/hole_thu_frontend
fix: flow cannot scroll after post
update fold UI
This commit is contained in:
@@ -867,7 +867,7 @@ class FlowItemRow extends PureComponent {
|
|||||||
<span className="box-header-tag">{this.props.info.tag}</span>
|
<span className="box-header-tag">{this.props.info.tag}</span>
|
||||||
)}
|
)}
|
||||||
<Time stamp={this.props.info.timestamp} short={true} />
|
<Time stamp={this.props.info.timestamp} short={true} />
|
||||||
<span className="box-header-badge">已隐藏</span>
|
<span className="box-header-badge">{this.needFold ? '已隐藏' : '已屏蔽'}</span>
|
||||||
<div style={{ clear: 'both' }} />
|
<div style={{ clear: 'both' }} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ class ControlBar extends PureComponent {
|
|||||||
<PostForm
|
<PostForm
|
||||||
token={token}
|
token={token}
|
||||||
on_complete={() => {
|
on_complete={() => {
|
||||||
this.props.show_sidebar(null, null);
|
this.props.show_sidebar(null, null, 'clear');
|
||||||
this.do_refresh();
|
this.do_refresh();
|
||||||
}}
|
}}
|
||||||
/>,
|
/>,
|
||||||
|
|||||||
Reference in New Issue
Block a user