Page MenuHomePhabricator

2017WTE should enforce max width in preview with Vector2
Closed, ResolvedPublic


The preview in 2017WTE is always full screen. It should respect whatever max-width is currently used for the page.

  1. Visit a wiki that has new vector enabled, and ensure it is enabled (until "Use legacy vector" in preference
  2. Open 2017WTE and make a change
  3. Open the save dialog and click "Show preview"
  4. Observe the preview is full width

Expected: The preview is width constrained like read mode.

Event Timeline

Change 663606 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/VisualEditor@master] Add mw-content-container class to preview

Change 663606 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Add mw-content-container, mw-body classes to preview