Stackable
Stackable copied to clipboard
Heading issue - The block is placed at the center on frontend view if Max. Content Width is adjusted
Describe the bug The Heading block is default to center in frontend if Max. Content Width is adjusted on different responsive. But for backend, it's default to Align Left so backend and frontend have different views.
Note: This issue also happens on Wordpress 5.9 but it might be nice to fix this.
To Reproduce Steps to reproduce the behavior:
- Add a heading block
- (Optional) Add a background
- In Block > Size & Spacing > Max. Content Width, adjust it to below 100% or below 1500px
- Do Step 3 in the different responsive views - Desktop, Tablet, Mobile view
- After adjusting width, preview in new tab or Publish/Update then View Page
- Check Desktop view on both editor and frontend then compare
- Check Tablet view on both editor and frontend then compare
- Check Mobile view on both editor and frontend then compare
Expected behavior It should be default to what is displaying in the editor/backend.
Screenshots
https://user-images.githubusercontent.com/103395655/167102041-23596c4c-a883-4236-b0bf-36ae6d53c0d6.mp4