Page MenuHomePhabricator

Reduce size of button widgets shown on Special:Log and history pages
Closed, ResolvedPublic

Description

The buttons are currently displaying with a large space on the right:

F32419522

This was previously happening due to a right margin, which was corrected in T266881. However, the problem has started happening again, this time due to a large minimum width on the button element. Presumably something has changed in the OOUI styles.

It is fixed by adding min-width: 20px; to the button element in ipinfo.less.


The heights also need fixing:

Event Timeline

Restricted Application added a subscriber: Aklapper. ยท View Herald TranscriptDec 7 2020, 6:00 PM

Change 646786 had a related patch set uploaded (by Tchanders; owner: Tchanders):
[mediawiki/extensions/IPInfo@master] Reduce min-width of popup button widget on history and log pages

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

Tchanders renamed this task from Reduce width of button widgets shown on Special:Log and history pages to Reduce size of button widgets shown on Special:Log and history pages.Dec 10 2020, 9:43 PM
Tchanders updated the task description. (Show Details)

Change 646786 merged by jenkins-bot:
[mediawiki/extensions/IPInfo@master] Improve alignment of popup button widget on history and log pages

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

Niharika triaged this task as Medium priority.