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 width on e-readers #140

Open
imbolc opened this issue Apr 28, 2024 · 0 comments
Open

Code blocks width on e-readers #140

imbolc opened this issue Apr 28, 2024 · 0 comments

Comments

@imbolc
Copy link
Sponsor

imbolc commented Apr 28, 2024

Code blocks in the online version of the book do not fit on the screen of e-readers. This issue occurs even on A4 (13.3-inch) sized readers, as shown in the last screenshot.

I suggest:

  • removing left padding
  • reformatting code blocks to have a single attribute per line
  • use 2-space tabs

image

image

image

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

1 participant