diff --git a/frontend/src/elements/calendar/CalendarEvent.vue b/frontend/src/elements/calendar/CalendarEvent.vue index e74c7f1a9..ef52f853d 100644 --- a/frontend/src/elements/calendar/CalendarEvent.vue +++ b/frontend/src/elements/calendar/CalendarEvent.vue @@ -3,11 +3,9 @@ :class="{ 'text-gray-400 cursor-not-allowed': disabled, 'h-full': !monthView }" @mouseleave="popup = {...initialEventPopupData}" > -
diff --git a/frontend/src/elements/calendar/CalendarEventRemote.vue b/frontend/src/elements/calendar/CalendarEventRemote.vue index 1a2d75e8d..22402faab 100644 --- a/frontend/src/elements/calendar/CalendarEventRemote.vue +++ b/frontend/src/elements/calendar/CalendarEventRemote.vue @@ -6,16 +6,17 @@ " :class="{ 'rounded bg-amber-400/80 dark:text-white': event.all_day, - 'h-full rounded': !isMonthView, + 'h-full border-2 rounded': !isMonthView, }" :style="{ - borderColor: eventColor(event, false).border, - backgroundColor: isMonthView ? eventColor(event, false).background : event.calendar_color, - color: !isMonthView ? getAccessibleColor(event.calendar_color) : null, + borderColor: !isMonthView ? eventColor(event, false).border : null, + backgroundColor: isMonthView || (!isMonthView && event.tentative) ? 'transparent' : event.calendar_color, + color: !isMonthView && !event.tentative ? getAccessibleColor(event.calendar_color) : null, + color: !isMonthView && event.tentative ? event.calendar_color : null, }" >