Page MenuHomePhabricator

[S] Reduce the max width for the basic namespace filter on Special:Search
Closed, ResolvedPublic

Description

the basic namespace filter on special:search (mw-search-profile-tabs) should probably also be limited in width (like the input & results etc.)

In recent development, we have reduced the space of multiple containers on the top of the search result. Recent testing has highlighted that the basic namespace also needs to be shrunk in size.

Screenshot 2022-10-05 at 16.08.13.png (607×1 px, 135 KB)

AC:

  • Set max width for the basic namespace filter (mw-search-profile-tabs) to max 50em
  • Make sure the width of this container is not changed in old vector

Event Timeline

CBogen renamed this task from Reduce the max width for the basic namespace filter to Reduce the max width for the basic namespace filter on Special:Search.Oct 5 2022, 1:30 PM
CBogen updated the task description. (Show Details)
CBogen renamed this task from Reduce the max width for the basic namespace filter on Special:Search to [S] Reduce the max width for the basic namespace filter on Special:Search.Oct 5 2022, 4:32 PM

Change 839479 had a related patch set uploaded (by Simone Cuomo; author: Simone Cuomo):

[mediawiki/core@master] Reduce the max width for the basic namespace filter on Special:Search

https://gerrit.wikimedia.org/r/839479

Change 839479 merged by jenkins-bot:

[mediawiki/core@master] Reduce the max width for the basic namespace filter on Special:Search

https://gerrit.wikimedia.org/r/839479

Etonkovidova subscribed.

Checked in wmf.6.

Vector (2022)Vector legacy
Screen Shot 2022-10-23 at 4.50.13 PM.png (480×2 px, 149 KB)
Screen Shot 2022-10-23 at 4.49.34 PM.png (496×2 px, 145 KB)

For Vector legacy the override is in place:

.mw-search-results-info,.mw-search-profile-tabs {
    width: auto
}