You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-13 22:12:50 +02:00
Desktop: Fixed Back button icon on Config screen
This commit is contained in:
@@ -355,7 +355,7 @@ class ConfigScreenComponent extends React.Component {
|
|||||||
return (
|
return (
|
||||||
<div style={style}>
|
<div style={style}>
|
||||||
<div style={buttonBarStyle}>
|
<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.onSaveClick()}} style={buttonStyleApprove}>{_('OK')}</button>
|
||||||
<button disabled={!hasChanges} onClick={() => {this.onApplyClick()}} style={buttonStyleApprove}>{_('Apply')}</button>
|
<button disabled={!hasChanges} onClick={() => {this.onApplyClick()}} style={buttonStyleApprove}>{_('Apply')}</button>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -231,6 +231,11 @@ function addExtraStyles(style) {
|
|||||||
marginTop: 20,
|
marginTop: 20,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
style.buttonIconStyle = {
|
||||||
|
color: style.color,
|
||||||
|
marginRight: 6,
|
||||||
|
}
|
||||||
|
|
||||||
style.dialogTitle = Object.assign({}, style.h1Style, { marginBottom: '1.2em' });
|
style.dialogTitle = Object.assign({}, style.h1Style, { marginBottom: '1.2em' });
|
||||||
|
|
||||||
style.dropdownList = Object.assign({}, style.inputStyle);
|
style.dropdownList = Object.assign({}, style.inputStyle);
|
||||||
|
Reference in New Issue
Block a user