Make the Toggle in the mute modal look better

This commit is contained in:
Surinna Curtis 2017-09-25 23:58:48 -05:00 committed by aschmitz
parent 21de45c7d2
commit 22cf9bcff6
2 changed files with 12 additions and 3 deletions

View File

@ -81,12 +81,13 @@ export default class MuteModal extends React.PureComponent {
values={{ name: <strong>@{account.get('acct')}</strong> }}
/>
</p>
<p>
<label htmlFor='mute-modal__hide-notifications-heckbox'>
<div>
<label htmlFor='mute-modal__hide-notifications-checkbox'>
<FormattedMessage id='mute_modal.hide_notifications' defaultMessage='Hide notifications from this user?' />
{' '}
<Toggle id='mute-modal__hide-notifications-checkbox' checked={notifications} onChange={this.toggleNotifications} />
</label>
</p>
</div>
</div>
<div className='mute-modal__action-bar'>

View File

@ -3580,6 +3580,14 @@ button.icon-button.active i.fa-retweet {
}
}
.mute-modal {
line-height: 24px;
}
.mute-modal .react-toggle {
vertical-align: middle;
}
.report-modal__statuses,
.report-modal__comment {
padding: 10px;