From a74fc27e0b5d08ee95b9e84503ee23f9401518fb Mon Sep 17 00:00:00 2001 From: FrankRua Date: Thu, 20 Jan 2022 12:33:58 -0500 Subject: [PATCH] Alert message CSS --- .../button-question/button-question.vue | 9 ++------- src/common-components/funnel-header/funnel-header.vue | 9 +++++++-- src/layouts/vehicle-year/vehicle-year.vue | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/common-components/button-question/button-question.vue b/src/common-components/button-question/button-question.vue index 3d2f75893..849f5a353 100644 --- a/src/common-components/button-question/button-question.vue +++ b/src/common-components/button-question/button-question.vue @@ -47,13 +47,6 @@ export default { components: { listButton, }, - updated() { - - // Dynamically account for the header height. - var element = document.getElementsByClassName('overflow-scroll')[0]; - - element.style.height = 'calc(100% - ' + element.offsetTop + 'px)'; - } }; @@ -62,6 +55,8 @@ export default { height: calc(100vh - 280px); .overflow-scroll { + // Height will be determined by overall height of content above list + height: calc(100% - 320px); -webkit-overflow-scrolling: touch; } } diff --git a/src/common-components/funnel-header/funnel-header.vue b/src/common-components/funnel-header/funnel-header.vue index 0a3fd5219..685d7ac72 100644 --- a/src/common-components/funnel-header/funnel-header.vue +++ b/src/common-components/funnel-header/funnel-header.vue @@ -1,8 +1,9 @@ diff --git a/src/layouts/vehicle-year/vehicle-year.vue b/src/layouts/vehicle-year/vehicle-year.vue index 69e536c1a..06acdb92d 100644 --- a/src/layouts/vehicle-year/vehicle-year.vue +++ b/src/layouts/vehicle-year/vehicle-year.vue @@ -1,5 +1,5 @@