Page MenuHomePhabricator

Dimensions widget inputs are unnecessarily large
Closed, ResolvedPublic

Description

The dimensions widget has very large inputs, causing awkward wrapping in the graph dialog:

image.png (509×286 px, 17 KB)

This amount of space is unnecessary given that the numbers entered are unlikely to be more than 4 digits long.

Event Timeline

With the narrower inputs, there's no wrapping on a 320px-wide screen, and 4-digit numbers fit comfortably.

image.png (565×313 px, 27 KB)

Change 464597 had a related patch set uploaded (by Tchanders; owner: Tchanders):
[VisualEditor/VisualEditor@master] Minor cleanup of ve.ui.MediaSizeWidget

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

Change 464597 merged by jenkins-bot:
[VisualEditor/VisualEditor@master] Minor cleanup of ve.ui.MediaSizeWidget

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

Change 465294 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (f9afaa3e4)

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

Change 465294 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (f9afaa3e4)

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

Deskana triaged this task as Medium priority.