Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
fix empty mini cart vertical align issue on WP 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhtungdu committed May 5, 2022
1 parent 8f11114 commit a0da2b4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions assets/js/blocks/mini-cart/mini-cart-contents/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,19 @@
padding: 0;

> .block-editor-inner-blocks {
max-height: 100vh;
overflow-y: auto;
box-sizing: border-box;
display: flex;
flex-direction: column;
height: 100vh;
justify-content: center;
overflow-y: auto;
padding: $gap-largest $gap $gap;
}

// Temporary fix after the appender button was positioned absolute
// See https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/5742#issuecomment-1032804168
.block-list-appender {
margin-top: $gap;
position: relative;
}

Expand Down

0 comments on commit a0da2b4

Please sign in to comment.