mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 18:30:53 +00:00
repair scroll bug&file padding bug (#2976)
This commit is contained in:
@@ -146,7 +146,6 @@
|
||||
|
||||
.cur-view-content .wiki-page-content {
|
||||
flex: 1;
|
||||
padding-right: 40px;
|
||||
}
|
||||
|
||||
.dir-content-main .wiki-page-content .article {
|
||||
|
@@ -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>
|
||||
|
@@ -524,6 +524,7 @@ class LibContentView extends React.Component {
|
||||
}
|
||||
|
||||
this.setState({currentMode: mode});
|
||||
this.showDir(path);
|
||||
}
|
||||
|
||||
onSearchedClick = (item) => {
|
||||
|
Reference in New Issue
Block a user