diff --git a/src/digital-components/modal/modal.vue b/src/digital-components/modal/modal.vue index 4cc75f701..16b259547 100644 --- a/src/digital-components/modal/modal.vue +++ b/src/digital-components/modal/modal.vue @@ -36,9 +36,13 @@ :id="modalId + '-modalbtn'" ref="modalButtonMain" loaderColor="white" + :isDisabled="footerButtonDisabled" :buttonText="footerButtonText" @click-event="validateAndEmit" - :class="isFooterButtonDisabled && 'form-test-invalid'" /> + :class="[ + isFooterButtonDisabled && 'form-test-invalid', + { 'form-test-invalid': footerButtonDisabled === true }, + ]" /> @@ -59,6 +63,7 @@ export default { footerButtonText: String, suppressPageScroll: Boolean, staticBackdrop: Boolean, + footerButtonDisabled: Boolean, onModalOpenedCallback: { type: Function, }, diff --git a/src/digital-components/sierra-webchat/sierra-webchat.vue b/src/digital-components/sierra-webchat/sierra-webchat.vue index 8210e9075..77e5675f1 100644 --- a/src/digital-components/sierra-webchat/sierra-webchat.vue +++ b/src/digital-components/sierra-webchat/sierra-webchat.vue @@ -4,6 +4,10 @@ @@ -658,7 +663,7 @@ export default { .modal.modal-component .modal-dialog .modal-content .modal-body .textbox-question { padding: 0; } -.zip-search-group { +.shop-question-zipcode { display: flex; flex-direction: row; align-items: stretch; @@ -673,44 +678,40 @@ export default { height: auto; padding-left: 0; } - .zip-search-input { + .input-wrapper.has-search-icon { + display: flex; align-items: stretch; flex: 1 1 0; height: 100%; margin-bottom: 0; - input { + input, + .form-control { width: 100%; - height: 100%; + height: 48px; + min-height: 48px; + max-height: 48px; border: none; - padding-top: 0; - padding-bottom: 0; + padding: 0 1.5rem 0 1.5rem; outline: none; font-size: 1rem; background: transparent; box-sizing: border-box; - border-radius: 48px 0 0 48px; - padding-left: 0; + border-radius: 2.5rem 0 0 2.5rem; } } - .btn { + .search-icon-button { display: flex; align-items: center; - background-color: #e5f1fa; justify-content: center; - width: 48px; + background-color: #e5f1fa !important; + width: 2.5rem; height: 48px; - border: none; - - border-radius: 0 48px 48px 0; + max-height: 48px; + border-radius: 0 2.5rem 2.5rem 0; cursor: pointer; } } -@media (max-width: 767.98px) { - .zip-search-group { - padding-left: 0; - } -} .show-more-shops-link a { text-align: center; display: block; @@ -732,4 +733,18 @@ export default { border-radius: 2.5rem; padding-left: 1.5rem; } + +.shop-question-zipcode .form-test-error { + display: block; + width: 100%; + margin-top: 0.25rem; + margin-left: 0; + color: #d32f2f; // or your error color + position: static !important; + font-size: 0.875rem; + clear: both; + float: none; + display: block; + width: 100%; +}