feat: fixed modal size + fix safari not showing global edit
This commit is contained in:
parent
de29aa977a
commit
fde4fcc21c
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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')}`,
|
||||
});
|
||||
}, []);
|
||||
|
|
|
|||
Loading…
Reference in New Issue