From f7f12feaec5712da2cd96fe266a9127404549945 Mon Sep 17 00:00:00 2001 From: Alexis <35.alexis.pele@gmail.com> Date: Fri, 25 Apr 2025 14:58:47 +0200 Subject: [PATCH] Changed popover to modal on small screens --- components/calendar/state/monthly/DayTile.vue | 11 +++- components/calendar/state/monthly/Layout.vue | 55 ++++++++++++++++++- 2 files changed, 63 insertions(+), 3 deletions(-) diff --git a/components/calendar/state/monthly/DayTile.vue b/components/calendar/state/monthly/DayTile.vue index d766269..76d7e50 100644 --- a/components/calendar/state/monthly/DayTile.vue +++ b/components/calendar/state/monthly/DayTile.vue @@ -12,6 +12,10 @@ const props = defineProps<{ faded?: boolean }>() +const emit = defineEmits<{ + (e: "on-open-create-dialog", date: RPGDate): void +}>() + const calendarTile = ref() const calendarEventsList = ref() @@ -153,7 +157,12 @@ const eventsNotDisplayed: ComputedRef = computed(() => eventsFo - + +