From e40b931aea099ac5aa33e064788c231facd86b99 Mon Sep 17 00:00:00 2001 From: sheena Date: Thu, 8 Jun 2023 19:48:55 +0530 Subject: [PATCH 1/2] 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 { }, }; + From 89d45bbc64c78ddc9699ee39b028d3f5bad2ceb9 Mon Sep 17 00:00:00 2001 From: sheena Date: Thu, 8 Jun 2023 19:56:17 +0530 Subject: [PATCH 2/2] ssr-1321 --- src/digital-components/modal/modal.vue | 2 +- src/fmg-components/funnel-footer/funnel-footer.vue | 4 ++-- src/layouts/estimate/estimate.vue | 1 - src/layouts/quote/quote.vue | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/digital-components/modal/modal.vue b/src/digital-components/modal/modal.vue index 0816e0476..b02a25103 100644 --- a/src/digital-components/modal/modal.vue +++ b/src/digital-components/modal/modal.vue @@ -163,7 +163,7 @@ export default { } .modal-footer { border-top: none; - + button { margin: 0; } diff --git a/src/fmg-components/funnel-footer/funnel-footer.vue b/src/fmg-components/funnel-footer/funnel-footer.vue index b49ec7543..c036f8d0a 100644 --- a/src/fmg-components/funnel-footer/funnel-footer.vue +++ b/src/fmg-components/funnel-footer/funnel-footer.vue @@ -49,7 +49,7 @@ export default { customButtontext: "", }; }, - + unmounted() { document.onkeydown = null; }, @@ -63,7 +63,7 @@ export default { : this.getCmsContent(this.cmsWidgetName, "ForwardButtonText"); }, }, - methods: { + methods: { updateButtonText(newText) { this.customButtontext = newText; }, diff --git a/src/layouts/estimate/estimate.vue b/src/layouts/estimate/estimate.vue index 846b54968..1ca0c9d48 100644 --- a/src/layouts/estimate/estimate.vue +++ b/src/layouts/estimate/estimate.vue @@ -359,5 +359,4 @@ export default { font-weight: 500; color: $black; } - diff --git a/src/layouts/quote/quote.vue b/src/layouts/quote/quote.vue index 38123535e..313e6f5bd 100644 --- a/src/layouts/quote/quote.vue +++ b/src/layouts/quote/quote.vue @@ -236,7 +236,7 @@ export default { };