From 85440229fca78105f9693facc91ef373694da3bf Mon Sep 17 00:00:00 2001 From: Muhsin Keloth Date: Wed, 24 Apr 2024 13:44:05 +0530 Subject: [PATCH] fix: styles updates in notification preference --- .../personal/NotificationPreferences.vue | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/app/javascript/dashboard/routes/dashboard/settings/personal/NotificationPreferences.vue b/app/javascript/dashboard/routes/dashboard/settings/personal/NotificationPreferences.vue index 7e6763679..e8f1ef5f9 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/personal/NotificationPreferences.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/personal/NotificationPreferences.vue @@ -4,7 +4,7 @@
- + {{ $t('PROFILE_SETTINGS.FORM.NOTIFICATIONS.TYPE_TITLE') }} @@ -14,12 +14,14 @@ {{ $t('PROFILE_SETTINGS.FORM.NOTIFICATIONS.EMAIL') }} - -
- + +
+ {{ $t('PROFILE_SETTINGS.FORM.NOTIFICATIONS.PUSH') }} - +
@@ -28,7 +30,7 @@ class="grid content-center h-12 grid-cols-12 gap-4 py-0 rounded-t-xl" >
{{ $t(notification.label) }} @@ -39,7 +41,7 @@ :key="typeIndex" :type="type" :value="`${type}_${notification.value}`" - :span="type === 'push' ? 4 : 2" + :span="type === 'push' ? 3 : 2" :selected-flags=" type === 'email' ? selectedEmailFlags : selectedPushFlags " @@ -73,7 +75,7 @@ {{ $t('PROFILE_SETTINGS.FORM.PUSH_NOTIFICATIONS_SECTION.TITLE') }} - +
@@ -107,13 +109,13 @@ import { verifyServiceWorkerExistence, } from '../../../../helper/pushHelper'; import { FEATURE_FLAGS } from 'dashboard/featureFlags'; -import V3Switch from 'v3/components/Form/Switch.vue'; +import FormSwitch from 'v3/components/Form/Switch.vue'; import NotificationCheckBox from './NotificationCheckBox.vue'; export default { components: { TableHeaderCell, - V3Switch, + FormSwitch, NotificationCheckBox, }, mixins: [alertMixin, configMixin, uiSettingsMixin],