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

Style bug repair (#2394)

* optimized css code

* repair search module

* repair response bug

* repair notificition bug

* repair file-history bug

* repair search info bug

* optimized code
This commit is contained in:
shanshuirenjia
2018-09-25 09:13:06 +08:00
committed by Daniel Pan
parent 490a15deed
commit 5ce1b15fb2
17 changed files with 85 additions and 153 deletions

View File

@@ -6,15 +6,11 @@ import SideNavFooter from './side-nav-footer';
class SidePanel extends React.Component {
onCloseSidePanel = () => {
//todos;
}
render() {
return (
<div className="side-panel">
<div className={`side-panel ${this.props.isSidePanelClosed ? '' : 'left-zero'}`}>
<div className="side-panel-north">
<Logo onCloseSidePanel={this.onCloseSidePanel}/>
<Logo onCloseSidePanel={this.props.onCloseSidePanel}/>
</div>
<div className="side-panel-center">
<MainSideNav currentTab={this.props.currentTab}/>