[GH-ISSUE #68] Documentation pages overflowing the viewport (code blocks) #7

Open
opened 2026-02-16 12:42:33 -05:00 by yindo · 1 comment
Owner

Originally created by @0x5c on GitHub (Mar 17, 2019).
Original GitHub issue: https://github.com/go-gitea/theme/issues/68

As pointed out by a user named @Pearl on the discord server, some documentation pages overflow out of the viewport, and without scrollbar, rendering them impossible to read.

By investigating further, it appears that the pages with overflow are the ones with code blocks containing lines wider than the content margins. This seems to cause the margins to be pushed further out, allowing the content to extend out of the screen.

This problem is more apparent on small or narrow screens, like mobile phones.

Originally created by @0x5c on GitHub (Mar 17, 2019). Original GitHub issue: https://github.com/go-gitea/theme/issues/68 As pointed out by a user named `@Pearl` on the discord server, some documentation pages overflow out of the viewport, and without scrollbar, rendering them impossible to read. By investigating further, it appears that the pages with overflow are the ones with code blocks containing lines wider than the content margins. This seems to cause the margins to be pushed further out, allowing the content to extend out of the screen. This problem is more apparent on small or narrow screens, like mobile phones.
Author
Owner

@0x5c commented on GitHub (Mar 17, 2019):

#67 is related, but seems to only fixes part of the issue, as mentioned by the author.

@0x5c commented on GitHub (Mar 17, 2019): #67 is related, but seems to only fixes part of the issue, as mentioned by the author.
yindo changed title from Documentation pages overflowing the viewport (code blocks) to [GH-ISSUE #68] Documentation pages overflowing the viewport (code blocks) 2026-06-05 16:34:28 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: go-gitea/theme#7