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
class="m-0 text-body small">
<template v-if="doesCopyContainRouterLink(paragraph)">
<span>
<router-link
:to="{
query: { [pageQueryString]: `${getRouterLinkRouteFromCopy(copy)}` },
name: 'root',
}">{{ getRouterLinkDisplayTextFromCopy(copy) }}</router-link>
</span>
<textBlock
:customText="paragraph"
class="mb-1"
marginTopSizeOverride="0" />
</template>
<template
v-for="copy in splitCopyOnCMSPlaceHolder(paragraph)"
@ -75,11 +72,13 @@ import {
splitCMSCopyOnParagraphTag
} from '@/helpers/cms-content-helper';
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';
export default {
name: 'alert',
components: {
textBlock,
textLink
},
props: {