Skip to content

Commit

Permalink
modify: move zoom-pointer to left on note detail component
Browse files Browse the repository at this point in the history
  • Loading branch information
sota1235 committed Jan 14, 2017
1 parent cfa40f3 commit f0fcaa6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions browser/main/Detail/SnippetNoteDetail.styl
Expand Up @@ -56,6 +56,7 @@

.override
absolute bottom left
left 60px
height 23px
z-index 1
button
Expand Down
16 changes: 9 additions & 7 deletions browser/main/StatusBar/index.js
Expand Up @@ -52,19 +52,21 @@ class StatusBar extends React.Component {
<div className='StatusBar'
styleName='root'
>
<div styleName='blank' />
{status.updateReady
? <button onClick={this.updateApp} styleName='update'>
<i styleName='update-icon' className='fa fa-cloud-download' /> Ready to Update!
</button>
: null
}
<button styleName='zoom'
onClick={(e) => this.handleZoomButtonClick(e)}
>
<i className='fa fa-search-plus' />&nbsp;
{Math.floor(config.zoom * 100)}%
</button>

<div styleName='blank' />

{status.updateReady
? <button onClick={this.updateApp} styleName='update'>
<i styleName='update-icon' className='fa fa-cloud-download' /> Ready to Update!
</button>
: null
}
</div>
)
}
Expand Down

0 comments on commit f0fcaa6

Please sign in to comment.