MT#61128 APP Download button overlapping on main menu fixed

Change-Id: I9eb91be64f14aa0cac11d8649c43441163d28519
(cherry picked from commit 13dbc468a8)
(cherry picked from commit 1bb02e6f00)
mr12.5.1
Hugo Zigha 7 months ago committed by Marco Capetta
parent 35061fa862
commit 05be693ae6

@ -112,5 +112,6 @@
"node": ">= 10.18.1",
"npm": ">= 6.13.4",
"yarn": ">= 1.21.1"
}
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}

@ -140,6 +140,7 @@
/>
<q-scroll-area
class="absolute-top main-menu-container"
:style="{ bottom: mainMenuBottom }"
>
<csc-main-menu-top
id="csc-main-menu-top"
@ -152,11 +153,15 @@
:is-pbx-configuration="isPbxConfiguration"
/>
</q-scroll-area>
<aui-mobile-app-badges />
<div class="absolute-bottom-left absolute-bottom-right bottom-text">
<div
v-if="!menuMinimized && platformInfo.type === 'spce'"
>
<aui-mobile-app-badges
class="app-mobile-badge-height"
:style="{ bottom: appBadgeBottom }"
/>
<div
v-if="!menuMinimized && platformInfo.type === 'spce'"
class="absolute-bottom-left absolute-bottom-right bottom-text"
>
<div>
<div class="row justify-center content-center">
<span
class="no-wrap q-mr-xs"
@ -450,6 +455,26 @@ export default {
},
callEndedReasonFormatted () {
return startCase(this.endedReason)
},
mainMenuBottom () {
const appUrlApple = this.platformInfo?.app?.apple?.url
const appUrlAndroid = this.platformInfo?.app?.android?.url
const copyrightIsDisplayed = !this.menuMinimized && this.platformInfo?.type === 'spce'
if ((appUrlApple || appUrlAndroid) && copyrightIsDisplayed) {
return '205px'
} else if (appUrlApple || appUrlAndroid) {
return '160px'
} else if (copyrightIsDisplayed) {
return '45px'
}
return '0px'
},
appBadgeBottom () {
const copyrightIsDisplayed = !this.menuMinimized && this.platformInfo?.type === 'spce'
if (copyrightIsDisplayed) {
return '45px'
}
return '0px'
}
},
watch: {
@ -802,5 +827,7 @@ $copyright-height: 45px
.main-menu-container
top: $toolbar-min-height
bottom: $copyright-height
.app-mobile-badge-height
height: 160px
</style>

Loading…
Cancel
Save