Merge pull request #1153 from Safelite/feature/Digital/CSR-1321.1

SSR-1321
This commit is contained in:
Mark Harris 2023-06-08 14:03:56 -04:00 committed by GitHub
commit 50044d1249
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 21 deletions

View file

@ -72,7 +72,7 @@ https://safelite.atlassian.net/wiki/spaces/DC/pages/76644418/Button+Question+Com
</div> </div>
</fieldset> </fieldset>
</div> </div>
<div class="row form-test-error mt-1"> <div class="row form-test-error">
<error-message <error-message
class="small" class="small"
:name="formatString(groupName)" :name="formatString(groupName)"
@ -189,7 +189,7 @@ export default {
classes = "d-flex flex-row p-0"; classes = "d-flex flex-row p-0";
break; break;
case "listCard": case "listCard":
classes = "row g-2 justify-content-center"; classes = "row g-2 justify-content-center mb-1";
if (this.isWide) { if (this.isWide) {
classes += " flex-column"; classes += " flex-column";
} }

View file

@ -163,8 +163,7 @@ export default {
} }
.modal-footer { .modal-footer {
border-top: none; border-top: none;
background-color: $gray-100;
box-shadow: 0px -1px 0px rgba(179, 180, 181, 0.3);
button { button {
margin: 0; margin: 0;
} }

View file

@ -46,19 +46,10 @@ export default {
}, },
data() { data() {
return { return {
paddingHeight: 0,
customButtontext: "", customButtontext: "",
}; };
}, },
mounted() {
this.paddingHeight = this.getFooterInfoBoxHeight() + 24;
this.$nextTick(() => {
window.addEventListener("resize", this.onResize);
});
},
beforeUnmount() {
window.removeEventListener("resize", this.onResize);
},
unmounted() { unmounted() {
document.onkeydown = null; document.onkeydown = null;
}, },
@ -73,9 +64,6 @@ export default {
}, },
}, },
methods: { methods: {
onResize() {
this.paddingHeight = this.getFooterInfoBoxHeight();
},
updateButtonText(newText) { updateButtonText(newText) {
this.customButtontext = newText; this.customButtontext = newText;
}, },

View file

@ -12,7 +12,6 @@
cmsWidgetName="AlertVinLookupQuestion" cmsWidgetName="AlertVinLookupQuestion"
alertClass="" /> alertClass="" />
<buttonQuestion <buttonQuestion
class="minus"
cmsWidgetName="VinLookupMethod" cmsWidgetName="VinLookupMethod"
:answers="answersFromCms" :answers="answersFromCms"
groupName="vinLookupMethodOption" groupName="vinLookupMethodOption"
@ -360,7 +359,4 @@ export default {
font-weight: 500; font-weight: 500;
color: $black; color: $black;
} }
.minus {
margin-bottom: -4px;
}
</style> </style>

View file

@ -235,3 +235,8 @@ export default {
}, },
}; };
</script> </script>
<style scoped>
.text-block {
display: block;
}
</style>