fix for alert box, similar to fmg

This commit is contained in:
Bill Richardson 2023-09-15 10:08:45 -04:00
parent e8e26ed0d1
commit b1b852520c

View file

@ -21,13 +21,10 @@
v-else v-else
class="m-0 text-body small"> class="m-0 text-body small">
<template v-if="doesCopyContainRouterLink(paragraph)"> <template v-if="doesCopyContainRouterLink(paragraph)">
<span> <textBlock
<router-link :customText="paragraph"
:to="{ class="mb-1"
query: { [pageQueryString]: `${getRouterLinkRouteFromCopy(copy)}` }, marginTopSizeOverride="0" />
name: 'root',
}">{{ getRouterLinkDisplayTextFromCopy(copy) }}</router-link>
</span>
</template> </template>
<template <template
v-for="copy in splitCopyOnCMSPlaceHolder(paragraph)" v-for="copy in splitCopyOnCMSPlaceHolder(paragraph)"
@ -75,11 +72,13 @@ import {
splitCMSCopyOnParagraphTag splitCMSCopyOnParagraphTag
} from '@/helpers/cms-content-helper'; } from '@/helpers/cms-content-helper';
import applicationConfig from '@/constants/application-config'; import applicationConfig from '@/constants/application-config';
import textBlock from '@/digital-components/text-block/text-block.vue';
import textLink from '@/ux-components/text-link/text-link.vue'; import textLink from '@/ux-components/text-link/text-link.vue';
export default { export default {
name: 'alert', name: 'alert',
components: { components: {
textBlock,
textLink textLink
}, },
props: { props: {