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

Code blocks not rendered properly in smaller screens #367

Open
sivaraam opened this issue Mar 10, 2019 · 3 comments
Open

Code blocks not rendered properly in smaller screens #367

sivaraam opened this issue Mar 10, 2019 · 3 comments

Comments

@sivaraam
Copy link
Member

I noticed an issue in which the code block in the "git log --oneline improvements" section renders badly in smaller screen. Further it also breaks the single-pagedness of the website. As a consequence, one might have to zoom in to read the post and scrolling might take you to empty space in the right. Screen shots:

  • Desktop view:
    Screenshot from 2019-03-10 20-56-49

  • Mobile view (iPhone SE resolution)
    Screenshot from 2019-03-10 20-56-14

    Screenshot from 2019-03-10 21-03-46

    Note the scroll bar in the bottom of the page.

It would be nice to fix this by making the code blocks render in such a way that the code within the block is scrollable rather than the whole page being scrollable.

Note: Initially mentioned in #366 (comment)

@chriscool
Copy link
Collaborator

@sivaraam thanks for creating the issue!

@mjaix
Copy link
Contributor

mjaix commented Mar 19, 2019 via email

@sivaraam
Copy link
Member Author

Actually, I created this issue just because I didn't have any ideas about how to go about it :-).

Anyways, I was thinking this could be solved by tweaking the theme of the blog somehow.

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