Skip to content

Commit

Permalink
Correct styling of Request Quote button (#17583)
Browse files Browse the repository at this point in the history
  • Loading branch information
Larisa-Staroverova authored Jul 12, 2023
1 parent 43f1faf commit 601de19
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
7 changes: 6 additions & 1 deletion feature-libs/cart/base/styles/layout/_cart-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
@include forVersion(6.1) {
cx-cart-totals,
cx-cart-coupon,
cx-cart-proceed-to-checkout {
cx-cart-proceed-to-checkout,
cx-quote-request-button {
min-width: 100%;
}
}
Expand All @@ -62,6 +63,10 @@
cx-cart-proceed-to-checkout {
order: 5;
}

cx-quote-request-button {
order: 6;
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion feature-libs/quote/assets/translations/en/quote.i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const quote = {
confirmSubmitOption: { yes: 'Yes', no: 'No' },
},
requestDialog: {
requestQuote: 'Request a Quote',
requestQuote: 'Request Quote',
title: 'Request Quote',
continueToEdit: 'Continue to Edit',
form: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#element
(click)="goToQuoteDetails()"
type="button"
class="btn btn-action btn-block"
class="btn btn-block btn-secondary"
>
{{ 'quote.requestDialog.requestQuote' | cxTranslate }}
</button>
6 changes: 3 additions & 3 deletions feature-libs/quote/styles/_quote-request-button.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
%cx-quote-request-button {
padding-bottom: 1rem;
padding-block-end: 1rem;
padding-inline-start: 3rem;

@include media-breakpoint-down(sm) {
padding-bottom: 0;
@include media-breakpoint-down(md) {
padding-inline-start: 0;
}
}

0 comments on commit 601de19

Please sign in to comment.