2020 </ div >
2121 < div class ="cly-vue-drawer__header " :class ="{ 'is-full-screen': currentScreenMode === 'full'} ">
2222 < div class ="cly-vue-drawer__title ">
23- < div v-if ="currentScreenMode !== 'full' ">
24- < div v-if ="hasBackLink " class ="cly-vue-drawer__title-container bu-is-flex bu-is-justify-content-space-between ">
25- < div class ="bu-is-flex bu-is-flex-direction-column bu-is-justify-content-center bu-p-1 bu-ml-5 bu-mt-5 ">
26- < a style ="cursor: pointer; " @click ="doClose " :data-test-id ="testId + '-drawer-back-link' ">
27- < span class ="text-medium bu-is-capitalized "> < i class ="fas fa-arrow-left bu-pr-3 "> </ i > {{i18n('plugins.back')}}</ span >
28- </ a >
29- </ div >
30- < div class ="bu-is-flex " :style ="hasBackLink.style " :class ="{ 'bu-is-justify-content-flex-start': hasBackLink, 'bu-is-justify-content-center': !hasBackLink } ">
31- < h3 :data-test-id ="testId + '-header-title' " class ="cly-vue-drawer__title-header "> {{title}}</ h3 >
32- </ div >
33- < span :data-test-id ="testId + '-close-button' " class ="cly-vue-drawer__close-button bu-p-1 bu-mr-5 " v-on:click ="doClose ">
34- < i class ="ion-ios-close-empty "> </ i >
35- </ span >
36- </ div >
37- < div v-else class ="cly-vue-drawer__title-container bu-is-flex bu-is-justify-content-space-between ">
38- < h3 :data-test-id ="testId + '-header-title' " class ="cly-vue-drawer__title-header "> {{title}}</ h3 >
39- < span :data-test-id ="testId + '-close-button' " class ="cly-vue-drawer__close-button " v-on:click ="doClose ">
40- < i class ="ion-ios-close-empty "> </ i >
23+ < div
24+ v-if ="currentScreenMode !== 'full' "
25+ class ="cly-vue-drawer__title-container bu-is-flex bu-is-justify-content-space-between "
26+ :class ="{ 'bu-is-align-items-center': !hasBackLink } "
27+ >
28+ < a
29+ v-if ="hasBackLink "
30+ :data-test-id ="testId + '-drawer-back-link' "
31+ style ="cursor: pointer; "
32+ @click ="doClose "
33+ >
34+ < span class ="text-medium bu-is-capitalized ">
35+ < i class ="fas fa-arrow-left bu-pr-3 " />
36+ {{ i18n('plugins.back') }}
4137 </ span >
38+ </ a >
39+ < h3
40+ class ="cly-vue-drawer__title-header "
41+ :data-test-id ="testId + '-header-title' "
42+ :style ="hasBackLink.style "
43+ >
44+ {{ title }}
45+ </ h3 >
46+ < div
47+ class ="cly-vue-drawer__close-button "
48+ :data-test-id ="testId + '-close-button' "
49+ @click ="doClose "
50+ >
51+ < i class ="ion-ios-close-empty " />
4252 </ div >
4353 </ div >
4454 < div v-if ="isMultiStep " class ="bu-columns bu-is-gapless bu-is-mobile cly-vue-drawer__subtitle ">
@@ -51,7 +61,7 @@ <h3 :data-test-id="testId + '-header-title'" class="cly-vue-drawer__title-header
5161 < span class ="index text-small " :data-test-id ="testId + '-current-step-index-' + (i + 1) " :class ="{'color-white': i === currentStepIndex} "> {{i + 1}}</ span >
5262 < span class ="done-icon text-small color-white bu-pt-0 " :data-test-id ="testId + '-current-step-index-img-container' + (i + 1) ">
5363 < img :data-test-id ="testId + '-step-' + (i + 1) " src ="images/icons/check-icon.svg ">
54- </ span >
64+ </ span >
5565 </ div >
5666 < div :data-test-id ="testId + '-' + (currentContent && currentContent.name ? currentContent.name.toLowerCase().replace(/[\s&]+/g, '-') + '-label' : 'content-label') " class ="cly-vue-drawer__step-title text-small font-weight-bold color-cool-gray-40 "> {{currentContent.name}}</ div >
5767 </ div >
@@ -100,4 +110,4 @@ <h3>{{title}}</h3>
100110 </ div >
101111 </ div >
102112 </ div >
103- </ transition >
113+ </ transition >
0 commit comments