Page MenuHomePhabricator

Adjust search results columns width based on search results container size
Open, Needs TriagePublic

Description

This is a follow up to T323843

In T323843 the search result column width (i.e. proportions of each column within the search results) is determined based on the full width of the screen including menus. This may give us a false sense of how much space is actually available for the search results container.

The following solution may allow us to more accurately determine how much space is available for the contents of search and adjust the columns accordingly.

  • Determine the search results column widths based on the search result container size instead of full screen size.

Event Timeline

After spending some time researching the issue, I have found out that "container query" even if supported by all major browsers, is NOT supported by our internal LESS implementation. This means that currently to solve this issue we would have to update Wikimedia LESS which is currently a few major versions behind.

cc: @CBogen

Volker_E added a subscriber: SimoneThisDot.