mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-10 11:21:29 +00:00
View mode improve (#2984)
* improve file content layout * repair review tab padding bug * combine operation btn * update code style
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React from 'react';
|
||||
import React, { Fragment } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import RepoInfoBar from '../../components/repo-info-bar';
|
||||
import DirentListView from '../../components/dirent-list-view/dirent-list-view';
|
||||
@@ -41,7 +41,7 @@ class DirListView extends React.Component {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div className="main-panel">
|
||||
<Fragment>
|
||||
{this.props.isRepoInfoBarShow && (
|
||||
<RepoInfoBar
|
||||
repoID={this.props.repoID}
|
||||
@@ -80,7 +80,7 @@ class DirListView extends React.Component {
|
||||
isAllItemSelected={this.props.isAllItemSelected}
|
||||
onAllItemSelected={this.props.onAllItemSelected}
|
||||
/>
|
||||
</div>
|
||||
</Fragment>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user