Merge pull request #882 from Safelite/feature/SSR-1634

SSR-1634: Essential Client Customizations
This commit is contained in:
katiekroell 2024-10-30 11:20:53 -04:00 committed by GitHub
commit 00a30e9b2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 5 deletions

View file

@ -17,7 +17,7 @@
<div class="col-md-6 col-xl-4"> <div class="col-md-6 col-xl-4">
<h5 <h5
ref="siteSubHeader" ref="siteSubHeader"
class="text-center text-black" class="sub-header text-center text-black"
v-html="coverageStatementSubHeader"></h5> v-html="coverageStatementSubHeader"></h5>
<div <div
ref="explanatoryText" ref="explanatoryText"
@ -464,12 +464,18 @@ export default {
return isRepair; return isRepair;
case 'deductibleOverZero': case 'deductibleOverZero':
return ( return (
this.isDeductibleVisible && this.deductibleValue !== 0 this.isDeductibleVisible && this.deductibleValue > 0
); // TODO what if deductible is negative? );
case 'isDeductibleZero': case 'isDeductibleZero':
return ( return (
this.isDeductibleVisible && this.deductibleValue === 0 this.isDeductibleVisible && this.deductibleValue <= 0
); );
case 'verifiedRepair':
return isRepair && this.isDeductibleVisible;
case 'verifiedReplaceZeroDeductible':
return !isRepair && this.isDeductibleVisible && this.deductibleValue <= 0;
case 'verifiedReplaceDeductibleOverZero':
return !isRepair && this.isDeductibleVisible && this.deductibleValue > 0;
default: default:
return null; return null;
} }
@ -502,6 +508,9 @@ export default {
.deductible-text { .deductible-text {
line-height: 1.5rem; line-height: 1.5rem;
} }
.sub-header {
line-height: 2rem;
}
:deep ol { :deep ol {
padding: 0; padding: 0;
padding-left: 1.125rem; padding-left: 1.125rem;
@ -521,6 +530,10 @@ export default {
color: $black; color: $black;
} }
} }
:deep .body-text {
font-size: 0.875rem;
line-height: 1.5rem;
}
:deep .question-text { :deep .question-text {
margin-top: 1.5rem; margin-top: 1.5rem;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;

View file

@ -16,7 +16,7 @@ ref="theForm"
<siteSubHeader <siteSubHeader
id="sub-header" id="sub-header"
cmsWidgetName="SiteSubHeader" cmsWidgetName="SiteSubHeader"
class="mb-0 mt-4" /> class="mb-0 mt-4 text-center" />
</div> </div>
</div> </div>
<div class="row justify-content-center"> <div class="row justify-content-center">