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

selected snippet item background-color is darken

This commit is contained in:
Sosuke Suzuki
2018-06-27 16:27:55 +09:00
parent c42b5c8806
commit 7414d52dc2
3 changed files with 25 additions and 2 deletions

View File

@@ -67,7 +67,8 @@ class SnippetTab extends React.Component {
<div styleName='header'>{i18n.__('Snippets')}</div>
<SnippetList
onSnippetSelect={this.handleSnippetSelect.bind(this)}
onSnippetDeleted={this.handleDeleteSnippet.bind(this)} />
onSnippetDeleted={this.handleDeleteSnippet.bind(this)}
currentSnippet={currentSnippet} />
<div styleName='snippet-detail' style={{visibility: currentSnippet ? 'visible' : 'hidden'}}>
<div styleName='group-section'>
<div styleName='group-section-label'>{i18n.__('Snippet name')}</div>