SoapboxConfig: button styles

chats_delete_account
Alex Gleason 4 years ago
parent 83a06e2708
commit a817deffa0
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -267,7 +267,7 @@ class SoapboxConfig extends ImmutablePureComponent {
</div> </div>
)) ))
} }
<div className='actions'> <div className='actions add-row'>
<div name='button' type='button' role='presentation' className='btn button button-secondary' onClick={this.handleAddItem(['promoPanel', 'items'], templates.promoPanelItem)}> <div name='button' type='button' role='presentation' className='btn button button-secondary' onClick={this.handleAddItem(['promoPanel', 'items'], templates.promoPanelItem)}>
<Icon id='plus-circle' /> <Icon id='plus-circle' />
<FormattedMessage id='soapbox_config.fields.promo_panel.add' defaultMessage='Add new Promo panel item' /> <FormattedMessage id='soapbox_config.fields.promo_panel.add' defaultMessage='Add new Promo panel item' />
@ -300,7 +300,7 @@ class SoapboxConfig extends ImmutablePureComponent {
</div> </div>
)) ))
} }
<div className='actions'> <div className='actions add-row'>
<div name='button' type='button' role='presentation' className='btn button button-secondary' onClick={this.handleAddItem(['navlinks', 'homeFooter'], templates.footerItem)}> <div name='button' type='button' role='presentation' className='btn button button-secondary' onClick={this.handleAddItem(['navlinks', 'homeFooter'], templates.footerItem)}>
<Icon id='plus-circle' /> <Icon id='plus-circle' />
<FormattedMessage id='soapbox_config.fields.home_footer.add' defaultMessage='Add new Home Footer Item' /> <FormattedMessage id='soapbox_config.fields.home_footer.add' defaultMessage='Add new Home Footer Item' />

@ -750,3 +750,16 @@ code {
margin-left: 10px; margin-left: 10px;
} }
} }
.actions.add-row {
margin: 10px 0 0;
.button {
border: 0;
background: transparent;
&:hover {
color: var(--primary-text-color);
}
}
}

Loading…
Cancel
Save