github-wide
github-wide copied to clipboard
`blob` pages unhandled when “New Code Search and Code View” enabled
If under Feature preview you enable New Code Search and Code View (Beta) then pages covered by this feature (such as blob URLs) are displayed in a narrow central column despite this style.
Something sets
max-width: 1280px;
https://github.com/apache/httpd/tree/9605760cff84574a013bf337f6cefae2b4f424f6 is fine but https://github.com/apache/httpd/blob/9605760cff84574a013bf337f6cefae2b4f424f6/CMakeLists.txt is not, for example.
This rule fixes it (but may well break something else):
div {
max-width: none !important;
}
The problem is that, unlike previous layouts, the div has only generated classes which could not be reliably matched.