Skip to content

Commit

Permalink
feat: add upc credit disclaimer
Browse files Browse the repository at this point in the history
  • Loading branch information
mcstover committed Nov 11, 2021
1 parent 4f10a26 commit db1bb5d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/components/Checkout/OrderTotals.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@
>
Apply
</button>
<div v-if="hasUPCCode" class="upc-disclaimer">
<p class="small-text">
Remember to use all your {{ promoFundDisplayName }} credits in one transaction.
You cannot use the remaining credits later.
</p>
</div>
</div>
<kv-tooltip
class="tooltip"
Expand Down Expand Up @@ -336,5 +342,27 @@ export default {
.tooltip {
text-align: left;
}
.upc-disclaimer {
display: flex;
justify-content: right;
@include breakpoint(medium) {
margin-right: 2.25rem;
}
p {
display: block;
color: $kiva-accent-red;
line-height: 1.25;
background: $very-light-gray;
padding: 0.3rem 0.3rem 0.1rem;
border-radius: 0.25rem;
@include breakpoint(medium) {
max-width: 22rem;
}
}
}
}
</style>

0 comments on commit db1bb5d

Please sign in to comment.