Skip to content

Commit f0fcaa6

Browse files
committed
modify: move zoom-pointer to left on note detail component
1 parent cfa40f3 commit f0fcaa6

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

browser/main/Detail/SnippetNoteDetail.styl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656

5757
.override
5858
absolute bottom left
59+
left 60px
5960
height 23px
6061
z-index 1
6162
button

browser/main/StatusBar/index.js

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,21 @@ class StatusBar extends React.Component {
5252
<div className='StatusBar'
5353
styleName='root'
5454
>
55-
<div styleName='blank' />
56-
{status.updateReady
57-
? <button onClick={this.updateApp} styleName='update'>
58-
<i styleName='update-icon' className='fa fa-cloud-download' /> Ready to Update!
59-
</button>
60-
: null
61-
}
6255
<button styleName='zoom'
6356
onClick={(e) => this.handleZoomButtonClick(e)}
6457
>
6558
<i className='fa fa-search-plus' />&nbsp;
6659
{Math.floor(config.zoom * 100)}%
6760
</button>
61+
62+
<div styleName='blank' />
63+
64+
{status.updateReady
65+
? <button onClick={this.updateApp} styleName='update'>
66+
<i styleName='update-icon' className='fa fa-cloud-download' /> Ready to Update!
67+
</button>
68+
: null
69+
}
6870
</div>
6971
)
7072
}

0 commit comments

Comments
 (0)