Add wc-block-mini-cart__contents class for the Mini Cart block (https://github.com/woocommerce/woocommerce-blocks/pull/5800)
* Add wc-block-mini-cart__contents class for the Mini Cart block woocommerce/woocommerce-blocks#5418 Add wc-block-mini-cart__contents class for the Mini Cart block * removed comment
This commit is contained in:
parent
5e55c1ae4a
commit
54ce880762
|
@ -1,4 +1,4 @@
|
|||
.editor-styles-wrapper .wp-block-woocommerce-mini-cart-contents {
|
||||
.editor-styles-wrapper .wc-block-mini-cart__contents {
|
||||
max-width: 480px;
|
||||
/* We need to override the margin top here to simulate the layout of
|
||||
the mini cart contents on the front end. */
|
||||
|
|
|
@ -74,8 +74,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
// @todo Review the class naming convention for Mini Cart inner blocks.
|
||||
.wp-block-woocommerce-mini-cart-contents {
|
||||
.wc-block-mini-cart__contents {
|
||||
background: #fff;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!-- wp:woocommerce/mini-cart-contents -->
|
||||
<div class="wp-block-woocommerce-mini-cart-contents">
|
||||
<!-- wp:woocommerce/mini-cart-contents {"className":"wc-block-mini-cart__contents"} -->
|
||||
<div class="wp-block-woocommerce-mini-cart-contents wc-block-mini-cart__contents">
|
||||
<!-- wp:woocommerce/filled-mini-cart-contents-block -->
|
||||
<div class="wp-block-woocommerce-filled-mini-cart-contents-block">
|
||||
<!-- wp:woocommerce/mini-cart-title-block -->
|
||||
|
|
Loading…
Reference in New Issue