From e40b931aea099ac5aa33e064788c231facd86b99 Mon Sep 17 00:00:00 2001 From: sheena Date: Thu, 8 Jun 2023 19:48:55 +0530 Subject: [PATCH] SSR-1321 Updated the changes Removed padding-height functionality --- .../button-question/button-question.vue | 4 ++-- src/digital-components/modal/modal.vue | 3 +-- .../funnel-footer/funnel-footer.vue | 16 ++-------------- src/layouts/estimate/estimate.vue | 5 +---- src/layouts/quote/quote.vue | 5 +++++ 5 files changed, 11 insertions(+), 22 deletions(-) diff --git a/src/digital-components/button-question/button-question.vue b/src/digital-components/button-question/button-question.vue index a344286ef..12586283d 100644 --- a/src/digital-components/button-question/button-question.vue +++ b/src/digital-components/button-question/button-question.vue @@ -72,7 +72,7 @@ https://safelite.atlassian.net/wiki/spaces/DC/pages/76644418/Button+Question+Com -
+
{ - window.addEventListener("resize", this.onResize); - }); - }, - beforeUnmount() { - window.removeEventListener("resize", this.onResize); - }, + unmounted() { document.onkeydown = null; }, @@ -72,10 +63,7 @@ export default { : this.getCmsContent(this.cmsWidgetName, "ForwardButtonText"); }, }, - methods: { - onResize() { - this.paddingHeight = this.getFooterInfoBoxHeight(); - }, + methods: { updateButtonText(newText) { this.customButtontext = newText; }, diff --git a/src/layouts/estimate/estimate.vue b/src/layouts/estimate/estimate.vue index 0665ffaa9..846b54968 100644 --- a/src/layouts/estimate/estimate.vue +++ b/src/layouts/estimate/estimate.vue @@ -12,7 +12,6 @@ cmsWidgetName="AlertVinLookupQuestion" alertClass="" /> diff --git a/src/layouts/quote/quote.vue b/src/layouts/quote/quote.vue index 06b8ecb9a..38123535e 100644 --- a/src/layouts/quote/quote.vue +++ b/src/layouts/quote/quote.vue @@ -235,3 +235,8 @@ export default { }, }; +