Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove a display of a note hash
  • Loading branch information
asmsuechan committed Jul 8, 2017
commit bd75f7fd2ca5002d9ea56cae6bf870320162b4ae
1 change: 0 additions & 1 deletion browser/main/Detail/MarkdownNoteDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ class MarkdownNoteDetail extends React.Component {
<StatusBar
{..._.pick(this.props, ['config', 'location', 'dispatch'])}
date={note.updatedAt}
type={note.type}
/>
</div>
)
Expand Down
7 changes: 0 additions & 7 deletions browser/main/StatusBar/StatusBar.styl
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@
.update-icon
color $brand-color

.note-hash
display inline
line-height 24px
padding-left 5px
font-size 11px
color $ui-button-color

body[data-theme="dark"]
.root
background-color $ui-dark-noteDetail-backgroundColor
Expand Down
3 changes: 0 additions & 3 deletions browser/main/StatusBar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ class StatusBar extends React.Component {

render () {
let { config, status } = this.context
const { location, type } = this.props
const styleName = type === 'MARKDOWN_NOTE' ? 'note-hash-md' : 'note-hash-snippet'

return (
<div className='StatusBar'
Expand All @@ -62,7 +60,6 @@ class StatusBar extends React.Component {
{Math.floor(config.zoom * 100)}%
</button>

<div styleName={styleName}>#{location.query.key}</div>
<div styleName='blank' />

{status.updateReady
Expand Down