Page MenuHomePhabricator

Get rid of the <legend> in RCFilters fieldset and minimize more vertical spaces
Closed, ResolvedPublic

Description

The <legend> still appears but has no reason to, and the <br>'s appear if there's even one show/hide option, but they take way too much space.

The commit below removes the legend and removes all <br />'s, instead setting the <span>s that are left inside the fieldset to display:block; to simulate a line-break but only where it is actually needed (without redundant <br> breaks that show a lot more whitespace below the text)

Event Timeline

Change 373716 had a related patch set uploaded (by Mooeypoo; owner: Mooeypoo):
[mediawiki/core@master] RCFilters: Minimize vertical spacing; get rid of legend and <br>s

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

Change 373716 merged by jenkins-bot:
[mediawiki/core@master] RCFilters: Minimize vertical spacing; get rid of legend and <br>s

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

Checked in betalabs - <legend> and <br> are removed from the collapsible element div id="BG_wiki" class="plainlinks". No regression in UI look.

Etonkovidova triaged this task as Low priority.