mirror of
https://github.com/angular/angular.git
synced 2026-11-28 09:27:52 -05:00
Previously, some part of the search results would be hidden and inaccessible on narrow screens. This was caused by an issue with the flexbox layout. See [here][1] for more info on the issue and the available solutions. NOTE: This issue affected both the search results shown when using the search box (on the top right of the page) as well as the search results shown in the `file-not-found` page. This commit changes how the layout of search results is achieved to ensure they are always accessible via scrolling on all screen sizes (while keeping the same layout on larger screens). Before: ![search results at 768px before][2] After: ![search results at 768px after][3] [1]: https://stackoverflow.com/questions/33454533/cant-scroll-to-top-of-flex-item-that-is-overflowing-container#33455342 [2]: https://user-images.githubusercontent.com/8604205/111772790-efe2ac00-88b5-11eb-925d-a80faeaa5369.png [3]: https://user-images.githubusercontent.com/8604205/111772810-f5d88d00-88b5-11eb-8b2a-60bdc3736ea3.png PR Close #41275