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

"Add Block" button overlaps content on the Checkout block in the editor #5742

Closed
alexflorisca opened this issue Feb 8, 2022 · 2 comments · Fixed by #5801
Closed

"Add Block" button overlaps content on the Checkout block in the editor #5742

alexflorisca opened this issue Feb 8, 2022 · 2 comments · Fixed by #5801
Assignees
Labels
block: checkout Issues related to the checkout block. focus: blocks Specific work involving or impacting how blocks behave. type: bug The issue/PR concerns a confirmed bug.

Comments

@alexflorisca
Copy link
Member

Describe the bug

The "Add Block" button overlaps the other inner blocks on the checkout block (see screenshot)

Screenshots

Place Order Totals
Screenshot 2022-02-08 at 11 16 59 Screenshot 2022-02-08 at 11 16 51

To reproduce

Steps to reproduce the behaviour:

  1. Open up a page with the Checkout block in the editor
  2. Confirm that the "Place Order" button and the "Add Block" button at the bottom of the block overlap
  3. Confirm that in the right hand side bar, the total price overlaps with the "Add block" button

Expected behaviour

The "Add block" button should sit neatly underneath the "Place order" button.

Environment

WordPress (please complete the following information):

  • Core version: 5.9
  • Gutenberg version (if installed): 12.5.3
  • WooCommerce version: 6.3.0-dev
  • WooCommerce Blocks version: 7.0.0-dev
@alexflorisca alexflorisca added type: bug The issue/PR concerns a confirmed bug. focus: blocks Specific work involving or impacting how blocks behave. block: checkout Issues related to the checkout block. labels Feb 8, 2022
@ralucaStan ralucaStan self-assigned this Feb 8, 2022
@ralucaStan
Copy link
Contributor

ralucaStan commented Feb 8, 2022

I think this bug can be because of this change in Gutenberg. It might be that we are not supposed to use the transparent button, but the solid black one. The transparent button is intended for empty groups.

@alexflorisca
Copy link
Member Author

Let's change the button to use the black button and see if that fixes it first. It sounds like that's something that we need to do anyway, and if we still have an issue after we can go from there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block: checkout Issues related to the checkout block. focus: blocks Specific work involving or impacting how blocks behave. type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
2 participants