Login/out block: Add button block class names to the submit button#76746
Login/out block: Add button block class names to the submit button#76746
Conversation
When the login form option is selected, and a block theme is active, add these CSS classes to the submit button, so that it can be styled with theme.json: wp-block-button__link wp-element-button
|
Flaky tests detected in d6859b1. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/23435591198
|
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
…76746) * Login/out block: Add button block class names to the submit button When the login form option is selected, and a block theme is active, add these CSS classes to the submit button, so that it can be styled with theme.json: wp-block-button__link wp-element-button
What?
Closes #50466
When the login form option is selected, and a block theme is active, add these CSS classes to the submit button, so that it can be styled with theme.json:
wp-block-button__link
wp-element-button
Props @justintadlock
Testing Instructions
Screenshots
Before:

After:
