The Wayback Machine - https://web.archive.org/web/20220407054321/https://github.com/python/pythondotorg/issues/1721
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

Text overflow on mobile #1721

Open
tusharsadhwani opened this issue Jan 8, 2021 · 3 comments
Open

Text overflow on mobile #1721

tusharsadhwani opened this issue Jan 8, 2021 · 3 comments

Comments

@tusharsadhwani
Copy link

@tusharsadhwani tusharsadhwani commented Jan 8, 2021

Describe the bug

image

When viewed on mobile, there's slight overflow to the right on certain PEP pages, and possibly on other pages as well.

The issue seems to be occuring because of this class in the CSS, being used to render inline code snippets or commands within the PEP markdown.

Expected behavior

image

I tinkered with the CSS on PEP 517 page, and I figured that adding word-break: break-word to <a> tags, and removing the CSS from the .pre tag seems to fix the issue.

@prsndp
Copy link

@prsndp prsndp commented Feb 9, 2021

I want to work on this issue, It is open for contribution ?

@ewdurbin
Copy link
Member

@ewdurbin ewdurbin commented Feb 9, 2021

@prsndp certainly.

@prsndp
Copy link

@prsndp prsndp commented Feb 9, 2021

@ewdurbin Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants