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

This commit is contained in:
Nevo David 2024-04-10 18:49:03 +07:00
parent de29aa977a
commit fde4fcc21c
3 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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>

View File

@ -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')}`,
});
}, []);