fix for alert box, similar to fmg
This commit is contained in:
parent
e8e26ed0d1
commit
b1b852520c
1 changed files with 6 additions and 7 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue