diff --git a/.replit b/.replit index 853b5d3..ef2efe1 100644 --- a/.replit +++ b/.replit @@ -37,4 +37,3 @@ args = "npm run dev" waitForPort = 5000 [agent] -integrations = ["javascript_database==1.0.0", "javascript_object_storage==1.0.0", "javascript_log_in_with_replit==1.0.0"] diff --git a/client/src/components/CalendarGrid.tsx b/client/src/components/CalendarGrid.tsx index 918c248..4627670 100644 --- a/client/src/components/CalendarGrid.tsx +++ b/client/src/components/CalendarGrid.tsx @@ -536,39 +536,42 @@ export default function CalendarGrid({ - {/* Publicities avec design épuré */} - {dayPublicities.length > 0 && ( -
- {dayPublicities.slice(0, 2).map((pub, idx) => ( -
pg.group?.name).join(', ')}` : ''}`} - > - {pub.pubNumber} -
- ))} - {dayPublicities.length > 2 && ( -
- +{dayPublicities.length - 2} -
- )} -
- )} - - {/* Quick Create Button épuré */} + {/* Publicities et Quick Create Button ensemble */} {isCurrentMonth && ( -
- +
+ {/* Publicities avec design épuré */} + {dayPublicities.length > 0 && ( + <> + {dayPublicities.slice(0, 2).map((pub, idx) => ( +
pg.group?.name).join(', ')}` : ''}`} + > + {pub.pubNumber} +
+ ))} + {dayPublicities.length > 2 && ( +
+ +{dayPublicities.length - 2} +
+ )} + + )} + + {/* Quick Create Button à côté des publicités */} +
+ +
)}