diff --git a/app/renderer/components/common/settings.js b/app/renderer/components/common/settings.js index 60c6d7772dc..f7220da80f8 100644 --- a/app/renderer/components/common/settings.js +++ b/app/renderer/components/common/settings.js @@ -90,8 +90,8 @@ class SettingCheckbox extends ImmutableComponent { const labelClass = cx({ [css(settingCheckboxStyles.label)]: this.props.small, - [this.props.labelClassName]: !!this.props.labelClassName - + [this.props.labelClassName]: !!this.props.labelClassName, + [css(settingCheckboxStyles.expansiveRightText)]: !this.props.compact }) return
@@ -101,11 +101,9 @@ class SettingCheckbox extends ImmutableComponent { onClick={this.onClick} checkedOn={this.props.checked !== undefined ? this.props.checked : getSetting(this.props.prefKey, this.props.settings)} className={this.props.switchClassName} - /> -
@@ -115,6 +113,9 @@ class SettingCheckbox extends ImmutableComponent { const settingCheckboxStyles = StyleSheet.create({ label: { fontSize: 'smaller' + }, + expansiveRightText: { + paddingLeft: '9px' } }) diff --git a/app/renderer/components/common/switchControl.js b/app/renderer/components/common/switchControl.js index 7a1c990cd09..43fc29c663d 100644 --- a/app/renderer/components/common/switchControl.js +++ b/app/renderer/components/common/switchControl.js @@ -36,18 +36,19 @@ class SwitchControl extends ImmutableComponent { > { this.props.leftl10nId && this.props.topl10nId - ?
 
+ ?
 
: (this.props.leftl10nId - ? + ?