Sidebar styles
This commit is contained in:
@ -12,8 +12,6 @@ const cx = classNames.bind(styles);
|
|||||||
|
|
||||||
import SidebarStore from './SidebarStore';
|
import SidebarStore from './SidebarStore';
|
||||||
|
|
||||||
// import treeStyles from 'components/Tree/Tree.scss';
|
|
||||||
|
|
||||||
@observer
|
@observer
|
||||||
class Sidebar extends React.Component {
|
class Sidebar extends React.Component {
|
||||||
static store;
|
static store;
|
||||||
@ -69,7 +67,7 @@ class Sidebar extends React.Component {
|
|||||||
) }
|
) }
|
||||||
<div
|
<div
|
||||||
onClick={ this.props.onToggle }
|
onClick={ this.props.onToggle }
|
||||||
className={ styles.sidebarToggle }
|
className={ cx(styles.sidebarToggle, { active: this.store.isEditing }) }
|
||||||
title="Toggle sidebar (Cmd+/)"
|
title="Toggle sidebar (Cmd+/)"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.action {
|
.action {
|
||||||
color: $darkGray;
|
color: $gray;
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
color: $textColor;
|
color: $textColor;
|
||||||
|
Reference in New Issue
Block a user