mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 18:56:22 +00:00
Remove a display of a note hash
This commit is contained in:
@@ -305,7 +305,6 @@ class MarkdownNoteDetail extends React.Component {
|
|||||||
<StatusBar
|
<StatusBar
|
||||||
{..._.pick(this.props, ['config', 'location', 'dispatch'])}
|
{..._.pick(this.props, ['config', 'location', 'dispatch'])}
|
||||||
date={note.updatedAt}
|
date={note.updatedAt}
|
||||||
type={note.type}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -35,13 +35,6 @@
|
|||||||
.update-icon
|
.update-icon
|
||||||
color $brand-color
|
color $brand-color
|
||||||
|
|
||||||
.note-hash
|
|
||||||
display inline
|
|
||||||
line-height 24px
|
|
||||||
padding-left 5px
|
|
||||||
font-size 11px
|
|
||||||
color $ui-button-color
|
|
||||||
|
|
||||||
body[data-theme="dark"]
|
body[data-theme="dark"]
|
||||||
.root
|
.root
|
||||||
background-color $ui-dark-noteDetail-backgroundColor
|
background-color $ui-dark-noteDetail-backgroundColor
|
||||||
|
|||||||
@@ -48,8 +48,6 @@ class StatusBar extends React.Component {
|
|||||||
|
|
||||||
render () {
|
render () {
|
||||||
let { config, status } = this.context
|
let { config, status } = this.context
|
||||||
const { location, type } = this.props
|
|
||||||
const styleName = type === 'MARKDOWN_NOTE' ? 'note-hash-md' : 'note-hash-snippet'
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='StatusBar'
|
<div className='StatusBar'
|
||||||
@@ -62,7 +60,6 @@ class StatusBar extends React.Component {
|
|||||||
{Math.floor(config.zoom * 100)}%
|
{Math.floor(config.zoom * 100)}%
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<div styleName={styleName}>#{location.query.key}</div>
|
|
||||||
<div styleName='blank' />
|
<div styleName='blank' />
|
||||||
|
|
||||||
{status.updateReady
|
{status.updateReady
|
||||||
|
|||||||
Reference in New Issue
Block a user