diff --git a/public/css/custom.css b/public/css/custom.css index 2e21bd5..d2e01a7 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -580,13 +580,18 @@ } /* project list end */ -/* commuters project list */ +/* commuters */ .commuter-list { max-height: 358px; overflow-y: auto; scrollbar-width: none; } -/* commuters project list end */ + +.fc-daygrid-day[data-has-commuters="true"] { + cursor: pointer; +} + +/* commuters end */ /* Scroll Button */ diff --git a/src/components/commuters/CommuterCalendar.vue b/src/components/commuters/CommuterCalendar.vue index 67b0857..1f62ebf 100644 --- a/src/components/commuters/CommuterCalendar.vue +++ b/src/components/commuters/CommuterCalendar.vue @@ -324,6 +324,7 @@ const loadCommuters = async () => { if (dateCell) { const dayEvents = dateCell.querySelector('.fc-daygrid-day-events'); if (dayEvents) { + dateCell.setAttribute('data-has-commuters', 'true'); dayEvents.classList.add('text-center'); // 프로필 이미지 생성 const profileImg = document.createElement('img'); @@ -431,3 +432,8 @@ onMounted(async () => { }); +