Fix: Mini Cart Contents: only show the active view (https://github.com/woocommerce/woocommerce-blocks/pull/6053)

This commit is contained in:
Tung Du 2022-03-23 09:58:03 +07:00 committed by GitHub
parent 1f9e4675fc
commit 937bab7688
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,11 @@
the mini cart contents on the front end. */
margin: 0 auto !important;
.wp-block-woocommerce-empty-mini-cart-contents-block[hidden],
.wp-block-woocommerce-filled-mini-cart-contents-block[hidden] {
display: none;
}
.wp-block-woocommerce-filled-mini-cart-contents-block > .block-editor-inner-blocks > .block-editor-block-list__layout {
display: flex;
flex-direction: column;