summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkNotificationSettingWindow.vue
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-01-05 21:04:56 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-01-05 21:04:56 +0900
commit047262ab20c83232c01b102961dfdc299073ea1a (patch)
treedf65326afd1c3b794dbe124a55b33f4380406733 /packages/frontend/src/components/MkNotificationSettingWindow.vue
parent:art: (diff)
downloadsharkey-047262ab20c83232c01b102961dfdc299073ea1a.tar.gz
sharkey-047262ab20c83232c01b102961dfdc299073ea1a.tar.bz2
sharkey-047262ab20c83232c01b102961dfdc299073ea1a.zip
refactor
Diffstat (limited to 'packages/frontend/src/components/MkNotificationSettingWindow.vue')
-rw-r--r--packages/frontend/src/components/MkNotificationSettingWindow.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/frontend/src/components/MkNotificationSettingWindow.vue b/packages/frontend/src/components/MkNotificationSettingWindow.vue
index 754d8d687b..e58a11bf5c 100644
--- a/packages/frontend/src/components/MkNotificationSettingWindow.vue
+++ b/packages/frontend/src/components/MkNotificationSettingWindow.vue
@@ -12,20 +12,20 @@
<template #header>{{ i18n.ts.notificationSetting }}</template>
<MkSpacer :margin-min="20" :margin-max="28">
- <div class="_formRoot">
+ <div class="_autoGap">
<template v-if="showGlobalToggle">
- <MkSwitch v-model="useGlobalSetting" class="_formBlock">
+ <MkSwitch v-model="useGlobalSetting">
{{ i18n.ts.useGlobalSetting }}
<template #caption>{{ i18n.ts.useGlobalSettingDesc }}</template>
</MkSwitch>
</template>
<template v-if="!useGlobalSetting">
- <MkInfo class="_formBlock">{{ i18n.ts.notificationSettingDesc }}</MkInfo>
+ <MkInfo>{{ i18n.ts.notificationSettingDesc }}</MkInfo>
<div style="display: flex; gap: var(--margin); flex-wrap: wrap;">
<MkButton inline @click="disableAll">{{ i18n.ts.disableAll }}</MkButton>
<MkButton inline @click="enableAll">{{ i18n.ts.enableAll }}</MkButton>
</div>
- <MkSwitch v-for="ntype in notificationTypes" class="_formBlock" :key="ntype" v-model="typesMap[ntype]">{{ i18n.t(`_notification._types.${ntype}`) }}</MkSwitch>
+ <MkSwitch v-for="ntype in notificationTypes" :key="ntype" v-model="typesMap[ntype]">{{ i18n.t(`_notification._types.${ntype}`) }}</MkSwitch>
</template>
</div>
</MkSpacer>