커서추가
This commit is contained in:
parent
767c160acd
commit
89f151d7bc
@ -580,13 +580,18 @@
|
|||||||
}
|
}
|
||||||
/* project list end */
|
/* project list end */
|
||||||
|
|
||||||
/* commuters project list */
|
/* commuters */
|
||||||
.commuter-list {
|
.commuter-list {
|
||||||
max-height: 358px;
|
max-height: 358px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
scrollbar-width: none;
|
scrollbar-width: none;
|
||||||
}
|
}
|
||||||
/* commuters project list end */
|
|
||||||
|
.fc-daygrid-day[data-has-commuters="true"] {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* commuters end */
|
||||||
|
|
||||||
/* Scroll Button */
|
/* Scroll Button */
|
||||||
|
|
||||||
|
|||||||
@ -324,6 +324,7 @@ const loadCommuters = async () => {
|
|||||||
if (dateCell) {
|
if (dateCell) {
|
||||||
const dayEvents = dateCell.querySelector('.fc-daygrid-day-events');
|
const dayEvents = dateCell.querySelector('.fc-daygrid-day-events');
|
||||||
if (dayEvents) {
|
if (dayEvents) {
|
||||||
|
dateCell.setAttribute('data-has-commuters', 'true');
|
||||||
dayEvents.classList.add('text-center');
|
dayEvents.classList.add('text-center');
|
||||||
// 프로필 이미지 생성
|
// 프로필 이미지 생성
|
||||||
const profileImg = document.createElement('img');
|
const profileImg = document.createElement('img');
|
||||||
@ -431,3 +432,8 @@ onMounted(async () => {
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.fc-daygrid-day[data-has-commuters="true"] {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user