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>
</fieldset>
</div>
<div class="row form-test-error mt-1">
<div class="row form-test-error">
<error-message
class="small"
:name="formatString(groupName)"
@ -189,7 +189,7 @@ export default {
classes = "d-flex flex-row p-0";
break;
case "listCard":
classes = "row g-2 justify-content-center";
classes = "row g-2 justify-content-center mb-1";
if (this.isWide) {
classes += " flex-column";
}

View file

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

View file

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

View file

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

View file

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