Page MenuHomePhabricator

[XS] Search result box is not the same height across media types
Closed, ResolvedPublic

Description

The search result box (for empty result) does not have the same height across different media types.

  • Ensure that all mediaType have the same distance between filter and placeholder image

The image below show the difference between images and audio

image.png (315×1 px, 31 KB)

Event Timeline

The issue is reproducible in FF and Chrome - below is the animated gif to illustrate the vertical "movement" of sdms-no-results__icon :

placement_icon2.gif (804×1 px, 278 KB)

.sdms-search-resultslist--video, .sdms-search-resultslist--image

needs to be changed from
margin: -8px;
to
margin: 0px -8px -8px -8px;

Seddon renamed this task from Search result box is not the same height across media types to [XS] Search result box is not the same height across media types.May 23 2022, 1:10 PM

Change 799256 had a related patch set uploaded (by MarkThisDot; author: MarkThisDot):

[mediawiki/extensions/MediaSearch@master] Fix: Search result box is not the same height across media types

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

Change 799256 merged by jenkins-bot:

[mediawiki/extensions/MediaSearch@master] Fix: Search result box is not the same height across media types

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

Checked in commons beta - the issue is fixed.

Checked in commons wmf.16 - the issue is not present anymore.

Etonkovidova updated the task description. (Show Details)