Page MenuHomePhabricator

Update width of "Other languages" box
Closed, ResolvedPublic

Description

Current width of "Other languages" box is wider by 1 pixel than required.
See screenshot from meta:Meta:Administrators :

image.png (283×152 px, 11 KB)

This style is defined in the ext.translate.tag.languages.css.

In my opinion, this is because defining borders twice - firstly in the "mw-pt-languages" and secondary in the "mw-pt-languages-label".

This may be fixed through addition

box-sizing: border-box;

into 'mw-pt-languages':

image.png (388×117 px, 9 KB)

(the rest of the view does not change)

Event Timeline

box-sizing: border-box seems simpler.

Kaganer updated the task description. (Show Details)

box-sizing: border-box seems simpler.

Thanks, updated.

Change 379667 had a related patch set uploaded (by Petar.petkovic; owner: Pl217):
[mediawiki/extensions/Translate@master] Update box-sizing of "Other languages" box

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

Nikerabbit assigned this task to Petar.petkovic.
Nikerabbit removed a project: Patch-For-Review.

Change 379667 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Update box-sizing of "Other languages" box

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