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
Content wider than page (Google search reported issues) #750
Comments
Hey, Can I work on this issue? I'm a beginner and a few guidelines would help me a lot! |
Thanks for your interest @Chandu-4444 . Yes, you can help. In the case of those two pages, the likely cause of the content being wider than the page is probably that the markdown or asciidoc documentation for the specific plugin is using some content that is wider than necessary. https://github.com/jenkinsci/perfecto-plugin#readme shows a horizontal scroll bar for one of its examples and one or more of the images render very poorly on plugins.jenkins.io. A pull request to https://github.com/jenkinsci/perfecto-plugin/blob/master/README.md seems like the most likely way to resolve the "page too wide" warning on that plugin. The same seems to be the case for https://github.com/jenkinsci/pipeline-maven-plugin#readme . It includes examples that need line breaks inserted so that they do not require horizontal scrolling to read the full text of the example. It appears that @zbynek has already submitted the pull request for pipeline-maven plugin. See jenkinsci/pipeline-maven-plugin#348 . You could do the same type of thing for the perfecto plugin |
@Chandu-4444 you can open the page on your phone or in Chrome dev tools in the mobile view -- you will see that the whole page https://github.com/jenkinsci/pipeline-maven-plugin#readme is scrollable horizontally, which is bad for navigation. My PR will improve it but maybe not fix it. The problem is with table formatting: I guess we need For the perfecto plugin I'm not sure what's the problem, I don't get horizontal scrolling for the whole page and I don't think horizontal scrolling for indivisual elements (like the code sample) is a problem, the lighthouse check is also passing. May be a false positive from Google? Anyway @MarkEWaite is right that the images on that page look bad, the easy solution is to avoid specifying the dimensions and let GitHub / plugin page figure it out based on the resolution, so a PR for perfecto readme is needed. |
Thanks for the information @zbynek and @MarkEWaite. I'll modify those images at perfecto readme. |
@zbynek PR merged. Thx a lot |
The text was updated successfully, but these errors were encountered: