mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-24 07:44:03 +08:00
Meta report: https://meta.discourse.org/t/search-in-header-gives-too-deep-results/362973 The general problem of our `menu-panel` is that it had no proper max-height set, which mean you have to scroll the page instead of the panel to see bottom results. In the new header-search setup however, scrolling the page makes the panel disappear, effectively locking you out. This commit adds a best-estimate max-height on the parent level `menu-panel`, dependent on where the search is triggered from (header VS welcome banner) | Old | New | |--------|--------| |  |  | |
||
|---|---|---|
| .. | ||
| sidebar | ||
| _index.scss | ||
| drafts-dropdown-menu.scss | ||
| header-search.scss | ||
| more-topics.scss | ||
| user-card.scss | ||
| user-info.scss | ||
| user-stream-item.scss | ||