Browse Source

fix: flow cannot scroll after post

update fold UI
dev
thuhole 5 years ago
parent
commit
ee84237758
  1. 2
      src/Flows.js
  2. 2
      src/Title.js

2
src/Flows.js

@ -867,7 +867,7 @@ class FlowItemRow extends PureComponent {
<span className="box-header-tag">{this.props.info.tag}</span>
)}
<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>
</div>

2
src/Title.js

@ -145,7 +145,7 @@ class ControlBar extends PureComponent {
<PostForm
token={token}
on_complete={() => {
this.props.show_sidebar(null, null);
this.props.show_sidebar(null, null, 'clear');
this.do_refresh();
}}
/>,

Loading…
Cancel
Save