From 754276cc9cde1aa19873f78028488c9f3308bb5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20Juh=C3=A9=20Lluveras?= Date: Wed, 8 Mar 2023 17:36:45 +0100 Subject: [PATCH] Add spacing below Mini Cart title --- assets/js/blocks/mini-cart/style.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/assets/js/blocks/mini-cart/style.scss b/assets/js/blocks/mini-cart/style.scss index c8e7b5d0569..d1106277200 100644 --- a/assets/js/blocks/mini-cart/style.scss +++ b/assets/js/blocks/mini-cart/style.scss @@ -97,6 +97,7 @@ .wp-block-woocommerce-empty-mini-cart-contents-block, .wp-block-woocommerce-filled-mini-cart-contents-block { + background: inherit; height: 100%; max-height: -webkit-fill-available; max-height: -moz-available; @@ -121,7 +122,11 @@ h2.wc-block-mini-cart__title { @include font-size(larger); - margin: $gap $gap 0; + background: inherit; + margin: $gap $gap $gap * -2; + padding-bottom: $gap * 2; + mask-image: linear-gradient(#000 calc(100% - #{$gap * 1.5}), transparent); + z-index: 1; } .wc-block-mini-cart__items {