chore: calendar layout quick add menu placement improvement (#4213)

This commit is contained in:
Anmol Singh Bhatia 2024-04-16 20:24:13 +05:30 committed by GitHub
parent 0705d2559b
commit 1549f3a808
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,7 +96,7 @@ export const CalendarDayTile: React.FC<Props> = observer((props) => {
<Droppable droppableId={formattedDatePayload} isDropDisabled={readOnly}> <Droppable droppableId={formattedDatePayload} isDropDisabled={readOnly}>
{(provided, snapshot) => ( {(provided, snapshot) => (
<div <div
className={`h-full w-full select-none overflow-y-auto ${ className={`h-full w-full select-none ${
snapshot.isDraggingOver || date.date.getDay() === 0 || date.date.getDay() === 6 snapshot.isDraggingOver || date.date.getDay() === 0 || date.date.getDay() === 6
? "bg-custom-background-90" ? "bg-custom-background-90"
: "bg-custom-background-100" : "bg-custom-background-100"