github-wide icon indicating copy to clipboard operation
github-wide copied to clipboard

`blob` pages unhandled when “New Code Search and Code View” enabled

Open jglick opened this issue 2 years ago • 1 comments

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.

jglick avatar Feb 21 '23 18:02 jglick

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.

jglick avatar Feb 21 '23 18:02 jglick