Page MenuHomePhabricator

CollaborationKitImage: make non-square images center correctly in displayed square for square applications (ToC, list images)
Closed, ResolvedPublic

Description

Does this:

image.png (327×443 px, 41 KB)

Should be more like this:

image.png (303×327 px, 41 KB)

vertical-align: middle is applied, but it doesn't do anything about this.

Event Timeline

Change 338528 had a related patch set uploaded (by Harej):
Centering non-square images

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

Change 338528 merged by jenkins-bot:
Centering non-square images

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