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