Handle long payment description with no space

This commit is contained in:
Jean-Baptiste Bellet
2022-04-28 10:54:41 +02:00
parent 4635e67707
commit 89aa76dbbc
2 changed files with 7 additions and 2 deletions

View File

@@ -59,8 +59,8 @@
%div.summary
%span.summary-value
= last_payment_method(@order)&.name
%p.text-small.text-skinny.pre-line
%em= last_payment_method(@order)&.description
%div.summary-description
= last_payment_method(@order)&.description
%a.summary-edit{href: main_app.checkout_step_path(:payment)}
= t("split_checkout.step3.payment_method.edit")

View File

@@ -185,6 +185,10 @@
}
}
.paymentmethod-container .paymentmethod-description.panel {
@include force-wrap;
}
.checkout-step3 {
padding-left: 15px;
padding-right: 15px;
@@ -281,6 +285,7 @@
.summary-description {
@include force-wrap;
color: $min-accessible-grey;
}
.summary-edit {