vigetlabs / wordpress-site-starter

2 stars 0 forks source link

Bug: Elements using inline-block #108

Open bd-viget opened 2 weeks ago

bd-viget commented 2 weeks ago

Summary

When working inside the block editor, heading blocks, as well as other blocks, are rendered using the style display: inline-block, causing layout issues.

Steps to Reproduce

  1. Create a cover block
  2. Insert a Heading Block
  3. Type something short for the heading
  4. Press Enter or Add another block
  5. The next block (paragraph) displays inline with the heading.

It should be displayed below the heading.

Screenshots

Here is an example where it happens with the CTA block (with all defaults) on a wider screen.

Screenshot 2024-06-14 at 2 01 56 PM