diff --git a/src/constants/component-variants.js b/src/constants/component-variants.js
index 7fd84311..d0253b6b 100644
--- a/src/constants/component-variants.js
+++ b/src/constants/component-variants.js
@@ -9,7 +9,3 @@ export const dropdownVariants = Object.freeze({
primary: 'primary',
compact: 'compact'
});
-export const modalPositions = Object.freeze({
- center: 'center',
- edge: 'edge'
-});
diff --git a/src/digital-components/modal/modal.vue b/src/digital-components/modal/modal.vue
index 83e07ccb..edb60a81 100644
--- a/src/digital-components/modal/modal.vue
+++ b/src/digital-components/modal/modal.vue
@@ -11,10 +11,7 @@
'hidden.bs.modal': onModalClosed,
'shown.bs.modal': onModalOpened
}">
-
+
@@ -68,7 +65,6 @@
import ButtonMain from '@/ux-components/button-main/button-main.vue';
import { Modal } from 'bootstrap';
import { useForm } from 'vee-validate';
-import { modalPositions } from '@/constants/component-variants';
import textLink from '@/ux-components/text-link/text-link.vue';
export default {
@@ -92,10 +88,6 @@ export default {
type: String,
default: 'success'
},
- modalPosition: {
- type: String,
- default: modalPositions.center
- },
allowInvalidSubmit: {
type: Boolean,
default: false
@@ -111,6 +103,10 @@ export default {
displayCloseLink: {
type: Boolean,
default: false
+ },
+ closeLinkText: {
+ type: String,
+ default: 'Close window'
}
},
emits: ['footer-button-event', 'isModalOpened'],
@@ -127,8 +123,7 @@ export default {
modalId,
meta,
validate,
- resetForm,
- modalPositions
+ resetForm
};
},
computed: {
@@ -186,6 +181,7 @@ export default {
right: 0;
bottom: 0;
left: 0;
+ padding-right: 1rem;
h5,
strong,
.subheader-text {
@@ -231,7 +227,8 @@ export default {
&.modal-component {
.modal-dialog {
display: flex;
- max-width: 37.5rem;
+ width: 37.5rem;
+ max-width: unset;
min-height: auto;
.modal-content {
box-shadow: 0px 1rem 3rem -1rem rgba(0, 0, 0, 0.25);
@@ -240,7 +237,7 @@ export default {
overflow: auto;
}
.modal-content {
- margin: 1.5rem auto 0 auto;
+ margin: 0 auto;
.modal-body {
padding: 0 1.5rem 0 1.5rem;
.col {
@@ -272,18 +269,10 @@ export default {
}
}
}
- &.modal-dialog-centered {
- .modal-content {
- box-shadow: 0px 1rem 3rem -1rem rgba(0, 0, 0, 0.25);
- border: 1px solid;
- border-radius: 5px;
- overflow: auto;
- }
- }
}
.modal-footer {
border-top: none;
- padding: 10px 1.5rem 1.5rem 1.5rem;
+ padding: .625rem 1.5rem 1.5rem 1.5rem;
button {
margin: 0;
@@ -303,6 +292,15 @@ export default {
transition: opacity 0.25s linear;
}
}
+ @include media-breakpoint-down(md) {
+ &.modal-component {
+ .modal-dialog {
+ width: auto;
+ max-width: unset;
+ margin: .625rem;
+ }
+ }
+ }
}
body {
.modal-backdrop {
diff --git a/src/iss-components/contact-details-drawer/contact-details-drawer.vue b/src/iss-components/contact-details-drawer/contact-details-drawer.vue
index 660ae1c3..0c977bf9 100644
--- a/src/iss-components/contact-details-drawer/contact-details-drawer.vue
+++ b/src/iss-components/contact-details-drawer/contact-details-drawer.vue
@@ -1,15 +1,16 @@
- {{ nameSectionLabel }}
+ {{ nameSectionLabel }}
@@ -58,7 +63,7 @@ export default {
},
modalSubHeaderText() {
return this.getCmsContent('ContinueReferralModalWidget', 'SubheaderText')
- .replaceAll('{custom:mmFound}', this.getMakeModelString);
+ .replaceAll('{custom:mmFound}', this.getMakeModelString.toUpperCase());
}
},
methods: {
@@ -82,5 +87,64 @@ export default {
diff --git a/src/iss-components/loading-modal/loading-modal.vue b/src/iss-components/loading-modal/loading-modal.vue
index e8303824..602ea77b 100644
--- a/src/iss-components/loading-modal/loading-modal.vue
+++ b/src/iss-components/loading-modal/loading-modal.vue
@@ -124,13 +124,7 @@ export default {
justify-content: flex-start;
align-items: center;
flex-direction: column;
- @include media-breakpoint-up(xs) {
- padding-top: 5rem;
- }
-
- @include media-breakpoint-up(md) {
- padding-top: 7rem;
- }
+ padding: 2rem;
.modal-loader-content-container {
min-width: 15rem; // 240px
diff --git a/src/layouts/provider-preference/tpa-recal-modal/tpa-recal-modal.vue b/src/layouts/provider-preference/tpa-recal-modal/tpa-recal-modal.vue
index 52190077..5e295340 100644
--- a/src/layouts/provider-preference/tpa-recal-modal/tpa-recal-modal.vue
+++ b/src/layouts/provider-preference/tpa-recal-modal/tpa-recal-modal.vue
@@ -9,7 +9,7 @@
:displayCloseButton="false"
:displayCloseLink="true">
@@ -122,7 +121,6 @@ import {
import { submitWorkOrder } from '@/helpers/order-helper.js';
import bailoutMessage from '@/constants/bailoutMessage';
import submitType from '@/constants/submit-type';
-import { modalPositions } from '@/constants/component-variants';
const VERIFYING_COVERAGE = 'Verifying coverage';
@@ -159,8 +157,7 @@ export default {
alertRecalWarning: 'AlertRecalWarningWidget',
editShopLinkText: 'EditShopLinkTextWidget',
contactDetails: 'ContactDetailsSectionWidget'
- },
- modalPositions
+ }
};
},
computed: {
@@ -345,7 +342,7 @@ export default {
}
};
-