Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

feat: fixed modal size + fix safari not showing global edit

Nevo Davidfde4fcc21cdc
diff --git a/apps/frontend/src/app/global.css b/apps/frontend/src/app/global.css
index 3322af2c7..49c36cb45 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 1996b360c..d5d14ec8e 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}
/>
)}
- <div id="renderEditor" />
+ <div id="renderEditor" className={clsx(!showHide.hideTopEditor && 'hidden')} />
{!existingData.integration && !showHide.hideTopEditor ? (
<>
<div>You are in global editing mode</div>
diff --git a/apps/frontend/src/components/launches/calendar.tsx b/apps/frontend/src/components/launches/calendar.tsx
index 9d309724c..58adbf52e 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: <AddEditModal integrations={integrations} date={getDate} />,
- size: '80%',
+ size: 'auth',
// title: `Adding posts for ${getDate.format('DD/MM/YYYY HH:mm')}`,
});
}, []);