1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-19 12:41:43 +00:00

update design of SideNav

smaller menu
This commit is contained in:
Dick Choi
2016-10-12 21:30:50 +09:00
parent 6e0def310f
commit d98e909256
7 changed files with 43 additions and 33 deletions

View File

@@ -48,7 +48,13 @@ class StorageSection extends React.Component {
<div styleName='header'>
<button styleName='header-toggleButton'
onClick={(e) => this.handleToggleButtonClick(e)}
><i className='fa fa-caret-down'/></button>
>
<i className={this.state.isOpen
? 'fa fa-caret-down'
: 'fa fa-caret-right'
}
/>
</button>
<button styleName={filter.type === 'STORAGE' && filter.storage === storage.key
? 'header-name--active'
: 'header-name'