Make Mute modal accessible

This commit is contained in:
L. E. Segovia 2018-12-12 02:27:34 +00:00
parent a57f1648ea
commit 40d34a74a7
No known key found for this signature in database
GPG Key ID: D5D1DC48B52B7AD5
1 changed files with 5 additions and 12 deletions

View File

@ -5,12 +5,11 @@
width="400px"
custom-class="mute-confirm"
>
<div class="description">
<span class="label">
{{ $t('modals.mute_confirm.body') }}
</span>
<el-switch v-model="notify"></el-switch>
</div>
<el-form class="description">
<el-form-item for="notify" :label="$t('modals.mute_confirm.body')">
<el-switch id="notify" v-model="notify"></el-switch>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="closeModal">{{ $t('modals.mute_confirm.cancel') }}</el-button>
<el-button type="primary" @click="submit">{{ $t('modals.mute_confirm.ok') }}</el-button>
@ -56,11 +55,5 @@ export default {
<style lang="scss" scoped>
.description {
text-align: center;
.label {
font-size: 14px;
color: #606266;
padding: 0 32px 0 0;
}
}
</style>