10up / wp-scaffold

10up WordPress project scaffold.
MIT License
194 stars 46 forks source link

Float based alignments are causing layout issues for adjacent blocks #209

Open seanjessen opened 7 months ago

seanjessen commented 7 months ago

Describe the bug

When a block alignment is set for the last block within the content area of a page this can cause a layout issue with the footer. As the current approach for block alignments uses floats these are not cleared.

Suggested Requirements:

Steps to Reproduce

  1. Add blocks within the block editor and set the last block to align left, center or right.
  2. On the FE the footer will align on too the same line as the last block element

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

No response

Code of Conduct