From 98cd5dda086b7b3d4dda0146526518971cf4d57e Mon Sep 17 00:00:00 2001 From: Stephanie Smith Date: Mon, 12 Aug 2024 16:32:55 -0700 Subject: [PATCH] minor adjustments to release 3.2.7 (#540) --- packages/vue/src/components/NavMobile/NavMobile.vue | 4 +++- .../edu/PageEduEventDetail/PageEduEventDetail.stories.js | 2 +- packages/vue/src/utils/mixins.ts | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/vue/src/components/NavMobile/NavMobile.vue b/packages/vue/src/components/NavMobile/NavMobile.vue index be92f77b..c16fa630 100644 --- a/packages/vue/src/components/NavMobile/NavMobile.vue +++ b/packages/vue/src/components/NavMobile/NavMobile.vue @@ -295,7 +295,9 @@ export default defineComponent({ // styles for default vs transparent header // underline color and logo inversion styles handled within their respective components &.-scrolled { - @apply fixed; + @media not print { + @apply fixed; + } } } // vue-transition classes diff --git a/packages/vue/src/templates/edu/PageEduEventDetail/PageEduEventDetail.stories.js b/packages/vue/src/templates/edu/PageEduEventDetail/PageEduEventDetail.stories.js index e86a3814..42f40986 100644 --- a/packages/vue/src/templates/edu/PageEduEventDetail/PageEduEventDetail.stories.js +++ b/packages/vue/src/templates/edu/PageEduEventDetail/PageEduEventDetail.stories.js @@ -155,7 +155,7 @@ export const MultiDayEvent = { ...PageEduEventDetailData, startDate: '2024-08-08', endDate: '2024-08-12', - startDatetime: '2024-08-08T14:00:00-07:00', + startDatetime: '2024-08-08T11:00:00-07:00', startTime: '15:00:00', endDatetime: '2024-08-12T22:00:00-07:00' } diff --git a/packages/vue/src/utils/mixins.ts b/packages/vue/src/utils/mixins.ts index eacf4d97..d3b2be17 100644 --- a/packages/vue/src/utils/mixins.ts +++ b/packages/vue/src/utils/mixins.ts @@ -352,7 +352,7 @@ export const mixinFormatEventTimeInHoursAndMinutes = ( // Event is less than 24 hours and spans 1 day if (endTime) { if (startDateDayjs.format('a') === endDateDayjs.format('a')) { - time = `${startDateDayjs.format('h:mm')} - ${endDateDayjs.format('h:mm a z')}` + time = `${startDateDayjs.format('h:mm')}-${endDateDayjs.format('h:mm a z')}` } else { time = `${startDateDayjs.format('h:mm a')} - ${endDateDayjs.format('h:mm a z')}` }