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
fixed misaligned elements in generated refunds page issue #45292
fixed misaligned elements in generated refunds page issue #45292
Conversation
Fixed misaligned elements in generated refunds page issue.
Hi , Apart from reviewing the code changes, please make sure to review the testing instructions as well. You can follow this guide to find out what good testing instructions should look like: |
@SpaceSurfer1 thanks for the PR! In my testing, looks like this does indeed fix the issue. I wonder if it would be even better, from an HTML semantics perspective, if those two lines were changed to |
Hi @coreymckrill, Thanks for reviewing👍. I just tested with The font and size is changed while using |
🤔 I guess it depends on which theme you're using. It looks like you're testing on Twenty Twenty Four, which is what I'm using too. With the h3, it is definitely bigger than it was before, but it's still smaller than the h2 heading that it belongs to: I'll check and see if anyone else has thoughts on this... |
@coreymckrill , Sure....👍 |
@SpaceSurfer1 given that this change doesn't affect current stores, only new ones (since the content is only generated once when WooCommerce is first installed), I'd say let's go ahead and improve the semantics and switch to This actually brings up a few other issues with the generated content that you could also address in this PR if you want to (also fine to just keep it focused on the two lines):
So the "Overview" heading, for example, should look like this:
If you'd rather not take on the extra changes, we can spin up another PR later. |
Hi @coreymckrill , I'll address those additional changes in this PR only. 👍 |
Updated tags to <h3>, updated block tags and added class attribute for headings
…ttps://github.com/SpaceSurfer1/woocommerce into fix/misaligned-elements-in-generated-refunds-page
Hi @coreymckrill , I have updated the tags and added class attribute👍 . Can you please review it? Thanks. |
…rated-refunds-page
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 All looks good now
Fixed misaligned elements in generated refunds page issue.
Submission Review Guidelines:
Changes proposed in this Pull Request:
Closes #45213 .
How to test the changes in this Pull Request:
Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:
wp shell
. Then in the shell, runWC_Install::create_pages()
. This will regenerate the Refund page with the updated content from this PR.Changelog entry
Fixed misaligned elements in generated refunds page issue, updated tags.
Significance
Type
Message
Fix alignment issues in the generated content of the Refunds page
Comment