Page MenuHomePhabricator

VisualEditor Mobile: [Regression wmf3] The fields inside Citations dialog are appearing at a fixed rather than whole-screen width in mobile VE
Closed, ResolvedPublic

Description

Screenshot

Steps to reproduce:

1.Open a page with mobile VE
2.Open any citation dialog like Cite>Website/book

Observed Result:
The fields inside Citations dialog are appearing at a much smaller size

See the screenshot attached


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2014-10-15_at_5.39.15_PM.png (462×1 px, 26 KB)

Details

Reference
bz72112

Event Timeline

This is almost certainly because of the MediaWiki theme; maybe that now actually sets fields' default width, and the previous theme wasn't?

gerritadmin wrote:

Change 169968 had a related patch set uploaded by Jforrester:
Set input/menu widgets to have a max-width expanding to 100% rather than hard-coded

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

gerritadmin wrote:

Change 169968 merged by jenkins-bot:
Set input/menu widgets to have a max-width expanding to 100% rather than hard-coded

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

confirmed in betalabs.

Previously it was:
oo-ui-textInputWidget {
. 
width: 20em;
}

After the fix:
.oo-ui-textInputWidget {

. 
width: 100%;
. 
max-width: 50em;

}

Created attachment 16986
Screenshot

Its still not taking full width .Reopening it.

Attached:

Screen_Shot_2014-10-31_at_2.55.04_PM.png (489×1 px, 27 KB)

It's not meant to. This is wide enough for tablets and phones.

Created attachment 16987
Screenshot

Is it okay if the width appears this way in tablet?

Attached:

IMG_0059.jpg (768×1 px, 44 KB)