Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Button Alignment Issue on Report Feedback Page in Learn WordPress #3065

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

karthick-murugan
Copy link

What

Fixes #3056

This PR addresses the issue where the Submit button's design mismatches when error messages are displayed on the Report Feedback page after form submission.

Why

The design inconsistency arises due to the .contact-form__error div inserted above the button, which alters its alignment and style.
This fix ensures a consistent design for the Submit button in all states (normal and error).

How

Fixed by adding custom css overriding the button css.

Testing Instructions

  1. Visit the Report Feedback page at https://learn.wordpress.org/report-content-feedback/.
  2. Submit the form with invalid inputs to trigger error messages.
  3. The Submit button retains its design.
  4. The layout and alignment remain consistent.

Before

form_button_before

After

form_button_fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In Report feedback page, submit button design miss match, need to fix
1 participant