Page MenuHomePhabricator

All the input fields should have the same width
Closed, ResolvedPublic2 Estimated Story Points

Description

In the Test template demo on commtech wiki, the DOB input field has smaller width than other fields. It's possible there are other input types which define a custom input width. We should ensure that all input fields have the same width.

image.png (642×816 px, 37 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Niharika set the point value for this task to 2.Jul 25 2018, 11:56 PM
Niharika moved this task from Needs Discussion to Up Next (May 6-17) on the Community-Tech board.
Samwilson moved this task from Ready to In Development on the Community-Tech-Sprint board.
Samwilson subscribed.

The width is being explicitly set in mw.widgets.DateInputWidget to 21 em. Is it a hack to override this (i.e. do we need to mark this for follow-up at some point)?

Change 449384 had a related patch set uploaded (by Samwilson; owner: Samwilson):
[mediawiki/extensions/TemplateWizard@master] Make date fields full-width, to match other fields

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

@Samwilson Does hacking it to extend the width also result is a widened date-time selector itself or does it only appear for part of the width?

Nope, the calendar bit looks fine; it's just the input box that's made wide.

Change 449384 merged by jenkins-bot:
[mediawiki/extensions/TemplateWizard@master] Make date fields full-width, to match other fields

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

Niharika triaged this task as Medium priority.
Niharika moved this task from QA to Q1 2018-19 on the Community-Tech-Sprint board.