From 19826d425095af86f36bcb88595411466e1c97b3 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Wed, 5 Jun 2024 18:32:40 +0530 Subject: [PATCH 01/10] fix: modal layout for mobile view --- frontend/src/components/Fields.vue | 5 ++++- frontend/src/components/Modals/DealModal.vue | 2 +- .../src/components/Modals/EmailTemplateModal.vue | 2 +- frontend/src/components/Modals/TaskModal.vue | 14 ++++++++++---- 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/Fields.vue b/frontend/src/components/Fields.vue index cbb86b763..84a59179a 100644 --- a/frontend/src/components/Fields.vue +++ b/frontend/src/components/Fields.vue @@ -9,7 +9,9 @@
@@ -131,6 +133,7 @@ import UserAvatar from '@/components/UserAvatar.vue' import Link from '@/components/Controls/Link.vue' import { usersStore } from '@/stores/users' import { Tooltip } from 'frappe-ui' +import { isMobileView } from '@/composables/settings' const { getUser } = usersStore() diff --git a/frontend/src/components/Modals/DealModal.vue b/frontend/src/components/Modals/DealModal.vue index 9d964d871..e854033de 100644 --- a/frontend/src/components/Modals/DealModal.vue +++ b/frontend/src/components/Modals/DealModal.vue @@ -7,7 +7,7 @@ }" >