mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 23:20:51 +00:00
['settings' page] fixup for the display of the logo (#6323)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import classnames from 'classnames';
|
||||
import { Utils } from '../utils/utils';
|
||||
import Logo from './logo';
|
||||
import MainSideNav from './main-side-nav';
|
||||
import { SIDE_PANEL_FOLDED_WIDTH } from '../constants';
|
||||
@@ -25,7 +24,10 @@ class SidePanel extends React.Component {
|
||||
return (
|
||||
<div className={classnames('side-panel', { 'side-panel-folded': isSidePanelFolded, 'left-zero': !this.props.isSidePanelClosed })} style={style}>
|
||||
<div className={'side-panel-north'}>
|
||||
{showLogoOnlyInMobile && !Utils.isDesktop() && <Logo onCloseSidePanel={this.props.onCloseSidePanel} />}
|
||||
<Logo
|
||||
onCloseSidePanel={this.props.onCloseSidePanel}
|
||||
showLogoOnlyInMobile={showLogoOnlyInMobile}
|
||||
/>
|
||||
</div>
|
||||
<div className="side-panel-center">
|
||||
{children ? children : (
|
||||
|
Reference in New Issue
Block a user