Page MenuHomePhabricator

Text excerpt should start on a new line in file search results
Closed, ResolvedPublic

Description

See url. the file url and the search result description text are now on the same line.

This is because the <div class="searchresult"> is an inline element after the <a> of the file link.


Version: 1.17.x
Severity: normal
URL: http://commons.wikimedia.org/wiki/Special:Search/File:_Tropenmuseum_Tree

Details

Reference
bz27547

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:23 PM
bzimport set Reference to bz27547.

Temp Commons fix deployed, since there it is the prime search results view, making it a rather annoying bug there.

http://commons.wikimedia.org/w/index.php?title=MediaWiki%3ACommon.css&action=historysubmit&diff=49987369&oldid=49876494

Issue observed on at least Safari 5 btw.

Created attachment 8267
The bug in action

Attached:

Afbeelding_4.png (594×706 px, 128 KB)

The div.searchresult has a width of 38em given. That is gone/ignored when it's display:inline