Automattic / jetpack

Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
https://jetpack.com/
Other
1.58k stars 797 forks source link

Form Block: Align right Contact Form button is not displayed properly in editor. #38779

Open mashikag opened 1 month ago

mashikag commented 1 month ago

Impacted plugin

Jetpack

Quick summary

I wish the "Submit" contact form button to be aligned right. When I set the alignment right, its positioned is not affected in the editor, i.e. it still appears left aligned. However, if I save the changes and go to preview my site on the frontend the button is right aligned there.

Steps to reproduce

  1. In the block editor add a Form block, and chose the Contact Form pattern.
  2. In the block editor, select the submit button block and try to right align it, using the block's settings.

A clear and concise description of what you expected to happen.

Button should become right aligned in the editor, and on the frontend of the site.

What actually happened

Button remains left aligned in the editor, but is actually right aligned on the fronted of the site (when we save with the alignment set to right).

In the editor: Screenshot 2024-08-08 at 11 11 16

On the frontend: Screenshot 2024-08-08 at 11 12 26

Impact

All

Available workarounds?

Yes, easy to implement

Platform (Simple and/or Atomic)

No response

Logs or notes

No response

ash1eygrace commented 2 weeks ago

I encountered this today in 8599357-zd-a8c

Some notes from my testing today:

github-actions[bot] commented 2 weeks ago

Support References

This comment is automatically generated. Please do not edit it.