1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 00:20:07 +00:00

repair scroll bug&file padding bug (#2976)

This commit is contained in:
杨顺强
2019-02-21 18:09:17 +08:00
committed by Daniel Pan
parent 0fccd9530b
commit da875a5e57
3 changed files with 2 additions and 2 deletions

View File

@@ -142,7 +142,7 @@ class LibContentContainer extends React.Component {
onPathClick={this.onPathClick}
/>
</div>
<div className="cur-view-content view-mode-container">
<div className={`cur-view-content ${this.props.currentMode === 'column' ? 'view-mode-container' : ''}`}>
{!this.props.pathExist && this.errMessage}
{this.props.pathExist && (
<Fragment>