1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Desktop: Fixed Back button icon on Config screen

This commit is contained in:
Laurent Cozic 2019-07-21 16:49:53 +01:00
parent f5515e3496
commit 6d4e67769c
2 changed files with 6 additions and 1 deletions

View File

@ -355,7 +355,7 @@ class ConfigScreenComponent extends React.Component {
return (
<div style={style}>
<div style={buttonBarStyle}>
<button onClick={() => {this.onCancelClick()}} style={buttonStyle}>{'⬅ ' + _('Cancel')}</button>
<button onClick={() => {this.onCancelClick()}} style={buttonStyle}><i style={theme.buttonIconStyle} className={"fa fa-chevron-left"}></i>{_('Cancel')}</button>
<button disabled={!hasChanges} onClick={() => {this.onSaveClick()}} style={buttonStyleApprove}>{_('OK')}</button>
<button disabled={!hasChanges} onClick={() => {this.onApplyClick()}} style={buttonStyleApprove}>{_('Apply')}</button>
</div>

View File

@ -231,6 +231,11 @@ function addExtraStyles(style) {
marginTop: 20,
}
style.buttonIconStyle = {
color: style.color,
marginRight: 6,
}
style.dialogTitle = Object.assign({}, style.h1Style, { marginBottom: '1.2em' });
style.dropdownList = Object.assign({}, style.inputStyle);