diff --git a/packages/vue/src/components/NavSecondary/NavSecondary.vue b/packages/vue/src/components/NavSecondary/NavSecondary.vue index 573674b7..fd8f90ce 100644 --- a/packages/vue/src/components/NavSecondary/NavSecondary.vue +++ b/packages/vue/src/components/NavSecondary/NavSecondary.vue @@ -10,7 +10,7 @@ }" >
{ }) const computedClass = computed((): string => { - if (heroInline.value || !data?.heroImage) { + if ((heroInline.value || !data?.heroImage) && !data?.breadcrumb) { return 'pt-5 lg:pt-12' - } else if (!heroInline.value) { + } else if (!heroInline.value || data?.breadcrumb) { return '-nav-offset' } return '' @@ -63,8 +64,16 @@ const computedClass = computed((): string => { :class="!data.showMetaPanel ? 'mb-10' : ''" /> + + + { :primary-subject="data.primarySubject" :additional-subjects="data.additionalSubjects" :grade-levels="data.gradeLevels" - :negative-top="!heroInline" - :negative-bottom="heroInline" + :negative-top="!heroInline && !data.breadcrumb && data.heroImage ? true : false" + :negative-bottom="heroInline && !data.breadcrumb" /> @@ -115,7 +124,7 @@ const computedClass = computed((): string => {