File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed
assets/scss/components/stencil/cart
templates/components/cart Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -421,6 +421,19 @@ $card-preview-zoom-bottom-offset: 6rem;
421421
422422 .cart-total-label {
423423 color : stencilColor (" color-textBase" );
424+ text-align : left ;
425+ width : grid-calc (6 , $total-columns );
426+
427+ @include breakpoint (" medium" ) {
428+ display : block ;
429+ padding-left : 0 ;
430+ text-align : left ;
431+ }
432+ }
433+
434+ .cart-total-value {
435+ float : right ;
436+ font-weight : fontWeight (" semibold" );
424437 }
425438
426439 .cart-total-label , .cart-total-value {
@@ -437,12 +450,15 @@ $card-preview-zoom-bottom-offset: 6rem;
437450 .cart-total-grandTotal {
438451 display : flex ;
439452 flex-direction : column ;
453+ text-align : right ;
454+ font-weight : fontWeight (" normal" );
440455
441456 .cart-total-amount {
442457 font-size : fontSize (" larger" );
443458 }
444459
445460 .cart-total-savings {
461+ font-family : $body-font-family ;
446462 font-size : fontSize (" smaller" );
447463 color : stencilColor (" color-textSecondary" );
448464 display : block ;
@@ -513,6 +529,12 @@ $card-preview-zoom-bottom-offset: 6rem;
513529 gap : spacing (" third" );
514530 color : stencilColor (" color-textSecondary" );
515531 width : auto ;
532+ max-width : 80% ;
533+ flex-wrap : wrap ;
534+
535+ .icon {
536+ flex-shrink : 0 ;
537+ }
516538
517539 a {
518540 color : stencilColor (" optimizedCheckout-link-color" );
@@ -565,6 +587,10 @@ $card-preview-zoom-bottom-offset: 6rem;
565587 justify-content : space-between ;
566588 padding : spacing (" eighth" ) 0 ;
567589 color : stencilColor (" color-textSecondary" );
590+
591+ .cart-discount-item-label {
592+ text-align : left ;
593+ }
568594 }
569595 }
570596}
Original file line number Diff line number Diff line change 1919 < i class ="icon cart-discount-icon " aria-hidden ="true "> < svg > < use href ="#icon-keyboard-arrow-up " /> </ svg > </ i >
2020 </ div >
2121 < div class ="cart-total-value " data-discount-toggle >
22- < strong > {{cart.display_discount_total.formatted}}</ strong >
22+ < span > {{cart.display_discount_total.formatted}}</ span >
2323 </ div >
2424 < ul data-discount-details class ="cart-discount-list ">
2525 {{#if cart.order_based_auto_discount_total.value}}
You can’t perform that action at this time.
0 commit comments