When viewed in a browser in Desktop mode, GitHub displays the complete list of files in the root directory above the project README. For projects with many files in the root directory, a user must scroll all the way down the page, past the file list which may be very long, to view the README contents. GitHub mobile pages on the other hand truncate the list entirely and prominently display the README.
I propose that GitHub, when viewed in Desktop mode, also truncate such large lists in favor of more prominantely displaying the contents of the README, with a “click to expand” option.
As an example, the XQEMU project:
Problematic long list of files:
GitHub Mobile Page, prominently displaying the project README:
Proposed compromise: a truncated list with a “click to expand” button: