SoapboxConfig: style improvements
This commit is contained in:
parent
b99bb7bd4b
commit
d65eedb67b
2 changed files with 22 additions and 4 deletions
|
@ -204,10 +204,15 @@ class SoapboxConfig extends ImmutablePureComponent {
|
|||
value={soapbox.get('brandColor')}
|
||||
onChange={this.handleChange(['brandColor'], (e) => e.hex)}
|
||||
/>
|
||||
<ThemeToggle
|
||||
onToggle={this.handleChange(['defaultSettings', 'themeMode'], value => value)}
|
||||
settings={settings}
|
||||
/>
|
||||
<div className='input with_label toggle'>
|
||||
<div className='label_input'>
|
||||
<label>Default theme</label>
|
||||
<ThemeToggle
|
||||
onToggle={this.handleChange(['defaultSettings', 'themeMode'], value => value)}
|
||||
settings={settings}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className='fields-row__column fields-group fields-row__column-6'>
|
||||
<FileChooserLogo
|
||||
|
@ -269,6 +274,8 @@ class SoapboxConfig extends ImmutablePureComponent {
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</FieldsGroup>
|
||||
<FieldsGroup>
|
||||
<div className='input with_block_label'>
|
||||
<label><FormattedMessage id='soapbox_config.fields.home_footer_fields_label' defaultMessage='Home footer items' /></label>
|
||||
<span className='hint'>
|
||||
|
|
|
@ -704,6 +704,7 @@ code {
|
|||
right: 7px;
|
||||
cursor: pointer;
|
||||
color: $error-red;
|
||||
transform: translateY(9px);
|
||||
}
|
||||
|
||||
.site-preview {
|
||||
|
@ -735,3 +736,13 @@ code {
|
|||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.input.with_label.toggle .label_input {
|
||||
display: flex;
|
||||
font-size: 14px;
|
||||
align-items: center;
|
||||
|
||||
.theme-toggle {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue