1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 10:16:26 +00:00

add label style for Theme and Language

This commit is contained in:
Baptiste Augrain
2018-09-05 17:13:41 +02:00
parent 1c8e379fdd
commit d3861caf28
2 changed files with 7 additions and 3 deletions

View File

@@ -59,4 +59,4 @@ export function createSnippetNote (storage, folder, dispatch, location, config)
ee.emit('list:jump', noteHash) ee.emit('list:jump', noteHash)
ee.emit('detail:focus') ee.emit('detail:focus')
}) })
} }

View File

@@ -174,7 +174,9 @@ class UiTab extends React.Component {
<div styleName='group-header'>{i18n.__('Interface')}</div> <div styleName='group-header'>{i18n.__('Interface')}</div>
<div styleName='group-section'> <div styleName='group-section'>
{i18n.__('Interface Theme')} <div styleName='group-section-label'>
{i18n.__('Interface Theme')}
</div>
<div styleName='group-section-control'> <div styleName='group-section-control'>
<select value={config.ui.theme} <select value={config.ui.theme}
onChange={(e) => this.handleUIChange(e)} onChange={(e) => this.handleUIChange(e)}
@@ -190,7 +192,9 @@ class UiTab extends React.Component {
</div> </div>
<div styleName='group-section'> <div styleName='group-section'>
{i18n.__('Language')} <div styleName='group-section-label'>
{i18n.__('Language')}
</div>
<div styleName='group-section-control'> <div styleName='group-section-control'>
<select value={config.ui.language} <select value={config.ui.language}
onChange={(e) => this.handleUIChange(e)} onChange={(e) => this.handleUIChange(e)}