공휴일 style 달력 좌우로 넓게 나오게

This commit is contained in:
nevermoregb 2025-04-05 10:03:15 +09:00
parent b8a7310af0
commit 08331b7b58

View File

@ -298,7 +298,7 @@
// //
const isSelectableDate = date => { const isSelectableDate = date => {
const checkDate = dayjs(date); const checkDate = dayjs(date);
const isWeekend = checkDate.day() === 0 || checkDate.day() === 6; const isWeekend = checkDate.day() === 0 || checkDate.day() === 6; //
// //
const isHoliday = calendarEvents.value.some( const isHoliday = calendarEvents.value.some(
event => event =>
@ -560,7 +560,6 @@
param.append('day', day); param.append('day', day);
if (!weatherStore.dailyWeatherList?.length) { if (!weatherStore.dailyWeatherList?.length) {
console.log(123);
await weatherStore.getWeatherInfo(); await weatherStore.getWeatherInfo();
//dailyWeatherList.value = weatherStore.dailyWeatherList; //dailyWeatherList.value = weatherStore.dailyWeatherList;
console.log('dailyWeatherList.value: ', dailyWeatherList.value); console.log('dailyWeatherList.value: ', dailyWeatherList.value);
@ -603,4 +602,9 @@
align-items: center; align-items: center;
text-align: center !important; */ text-align: center !important; */
} }
/* 공휴일만 가로로 넗게 나오게 */
::v-deep(.fc-daygrid-event-harness:has(.holiday-event)) {
width: 100% !important;
}
</style> </style>