1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Fix the editor lock button layout

This commit is contained in:
Kazu Yokomizo
2018-01-25 13:30:36 -05:00
parent cfb996039b
commit 2e05214828
4 changed files with 21 additions and 2 deletions

View File

@@ -380,6 +380,7 @@ class MarkdownNoteDetail extends React.Component {
onMouseDown={(e) => this.handleLockButtonMouseDown(e)}
>
<img styleName='iconInfo' src={imgSrc} />
{this.state.isLocked ? <span styleName='tooltip'>Unlock</span> : <span styleName='tooltip'>Lock</span>}
</button>
return (