-
Notifications
You must be signed in to change notification settings - Fork 513
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(placement): fix on site search #12029
Conversation
Move out of .main-page-content
Bundle StatsHey there, this message comes from a github action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
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.
Not an ideal solution, but a cleaner alternative may be more complex and risky, so I won't block.
Didn't test locally, but the desired effect is plausible, and confirmed by the screenshots.
client/src/site-search/index.scss
Outdated
article { | ||
display: contents; | ||
} |
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.
I don't think it's a good idea to have this article
here behave differently then other article
s on MDN.
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.
Noted, this basically affects the main-page-content
class. It only affects padding/margin. But this was the least minimal invasive change.
Deploying to stage before merging. |
Summary
The placement inherited from .main-page-content so we move it out.
Screenshots
Before
After
How did you test this change?
locally