Skip to content

Commit e9c6dd1

Browse files
author
John Carlo Octabio
committed
#108: Clear Shopping Cart - Add RWD styling to cart actions container using flex
1 parent 0051ec9 commit e9c6dd1

File tree

2 files changed

+10
-3
lines changed
  • app
    • code/Magento/Checkout/Block/Cart
    • design/frontend/Magento/luma/Magento_Checkout/web/css/source/module

2 files changed

+10
-3
lines changed

app/code/Magento/Checkout/Block/Cart/Grid.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ public function getItems()
165165
}
166166

167167
/**
168-
* Verify if display pager on shopping cart if cart block has custom_items and items qty in the shopping cart<limit
169-
* from stores configuration
168+
* Verify if display pager on shopping cart
169+
* If cart block has custom_items and items qty in the shopping cart<limit from stores configuration
170170
*
171171
* @return bool
172172
*/

app/design/frontend/Magento/luma/Magento_Checkout/web/css/source/module/_cart.less

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,14 @@
424424
.cart-container {
425425
.form-cart {
426426
.actions.main {
427-
text-align: center;
427+
.lib-vendor-prefix-display();
428+
.lib-vendor-prefix-flex-direction(column);
429+
.lib-vendor-box-align(center);
430+
431+
.clear,
432+
.continue {
433+
.lib-css(margin, 0 0 @indent__m 0);
434+
}
428435
}
429436
}
430437
}

0 commit comments

Comments
 (0)