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(pong): remove div/p #11393

Merged
merged 2 commits into from
Jul 1, 2024
Merged

fix(pong): remove div/p #11393

merged 2 commits into from
Jul 1, 2024

Conversation

fiji-flo
Copy link
Contributor

@fiji-flo fiji-flo commented Jul 1, 2024

Summary

Remove an unnecessary p and resolve an
invalid DOM nesting issue.

Problem

<p><div><div></p> is not allowed.

Solution

Remove the <p>.

Screenshots

Nothing changed.


How did you test this change?

Locally

Remove an unnecessary p and resolve an
invalid DOM nesting issue.
Copy link
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, if you verified that migrating away from <p> doesn't unexpectedly remove some vertical margin that the layout relied on.

@fiji-flo
Copy link
Contributor Author

fiji-flo commented Jul 1, 2024

Yes, verified that. But broke on the Obeservatory HP which is not in this branch so I made is more robust: a268b37

@fiji-flo fiji-flo merged commit e27d2b8 into main Jul 1, 2024
15 checks passed
@fiji-flo fiji-flo deleted the fix-new-pong-3 branch July 1, 2024 22:12
ferdnyc pushed a commit to ferdnyc/yari that referenced this pull request Jul 13, 2024
* fix(pong): remove div/p

Remove an unnecessary p and resolve an
invalid DOM nesting issue.

* fix height if not inherited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants