커서추가

This commit is contained in:
yoon 2025-03-28 15:02:19 +09:00
parent 767c160acd
commit 89f151d7bc
2 changed files with 13 additions and 2 deletions

View File

@ -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 */

View File

@ -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 () => {
});
</script>
<style>
.fc-daygrid-day[data-has-commuters="true"] {
cursor: pointer;
}
</style>