From fde4fcc21cdc89eebd9a359c8570e5a16f659384 Mon Sep 17 00:00:00 2001 From: Nevo David Date: Wed, 10 Apr 2024 18:49:03 +0700 Subject: [PATCH] feat: fixed modal size + fix safari not showing global edit --- apps/frontend/src/app/global.css | 6 +++--- apps/frontend/src/components/launches/add.edit.model.tsx | 2 +- apps/frontend/src/components/launches/calendar.tsx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/frontend/src/app/global.css b/apps/frontend/src/app/global.css index 3322af2c..49c36cb4 100644 --- a/apps/frontend/src/app/global.css +++ b/apps/frontend/src/app/global.css @@ -252,9 +252,9 @@ html { background-color: #ffdd00; } -#renderEditor:not(:has(:first-child)) { - display: none; -} +/*#renderEditor:not(:has(:first-child)) {*/ +/* display: none;*/ +/*}*/ .w-md-editor { background-color: #131B2C !important; border: 0 !important; diff --git a/apps/frontend/src/components/launches/add.edit.model.tsx b/apps/frontend/src/components/launches/add.edit.model.tsx index 1996b360..d5d14ec8 100644 --- a/apps/frontend/src/components/launches/add.edit.model.tsx +++ b/apps/frontend/src/components/launches/add.edit.model.tsx @@ -300,7 +300,7 @@ export const AddEditModal: FC<{ onChange={setSelectedIntegrations} /> )} -
+
{!existingData.integration && !showHide.hideTopEditor ? ( <>
You are in global editing mode
diff --git a/apps/frontend/src/components/launches/calendar.tsx b/apps/frontend/src/components/launches/calendar.tsx index 9d309724..58adbf52 100644 --- a/apps/frontend/src/components/launches/calendar.tsx +++ b/apps/frontend/src/components/launches/calendar.tsx @@ -292,10 +292,10 @@ const CalendarColumnRender: FC<{ day: number; hour: string }> = (props) => { closeOnEscape: false, withCloseButton: false, classNames: { - modal: 'bg-transparent text-white', + modal: 'w-[100%] max-w-[1400px] bg-transparent text-white', }, children: , - size: '80%', + size: 'auth', // title: `Adding posts for ${getDate.format('DD/MM/YYYY HH:mm')}`, }); }, []);