From 89f151d7bc0ec02816a02d3104f57ecb44931d38 Mon Sep 17 00:00:00 2001 From: yoon Date: Fri, 28 Mar 2025 15:02:19 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BB=A4=EC=84=9C=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/custom.css | 9 +++++++-- src/components/commuters/CommuterCalendar.vue | 6 ++++++ 2 files changed, 13 insertions(+), 2 deletions(-) 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 () => { }); +