diff --git a/components/calendar/event/Details.vue b/components/calendar/event/Details.vue index fb0110a..08afe47 100644 --- a/components/calendar/event/Details.vue +++ b/components/calendar/event/Details.vue @@ -14,6 +14,7 @@ import { PhDotsThreeOutlineVertical, PhEye } from "@phosphor-icons/vue" +import type { CollisionPadding } from "~/models/Popover" const { defaultDate, getFormattedDateTitle, jumpToDate, getRelativeString, revealEditEventModal, revealDeleteEventModal } = useCalendar() const { lastActiveEvent, isReadOnly } = storeToRefs(useCalendar()) @@ -28,6 +29,18 @@ const props = defineProps<{ const breakpoints = useBreakpoints( breakpointsTailwind ) +const collisionPadLg: CollisionPadding = { + top: 50, + bottom: 50, + left: 50, + right: 50, +} +const collisionPad: CollisionPadding = { + top: 80, + bottom: 80, + left: 12.5, + right: 12.5, +} // Ref for the popover const eventDetails = ref() @@ -67,12 +80,12 @@ function deployDeleteModal() {