Put the label for the hide notifications checkbox in a label element.

master
Surinna Curtis 7 years ago
parent 0a207be99d
commit 30b5254a5d
  1. 6
      app/javascript/mastodon/features/ui/components/mute_modal.js

@ -81,8 +81,10 @@ export default class MuteModal extends React.PureComponent {
/>
</p>
<p>
<FormattedMessage id='mute_modal.hide_notifications' defaultMessage='Hide notifications from this user?' />
<input type='checkbox' checked={notifications} onChange={this.toggleNotifications} />
<label>
<FormattedMessage id='mute_modal.hide_notifications' defaultMessage='Hide notifications from this user?' />
<input type='checkbox' checked={notifications} onChange={this.toggleNotifications} />
</label>
</p>
</div>

Loading…
Cancel
Save