Problem/Motivation

This is a followup to #1741498-39: Add a responsive preview bar to Drupal core.

Currently, the responsive preview feature only allows for a page to be previewed in portrait mode of a device.

This feature should be extended so that a user can toggle between portrait and landscape previews.

Proposed resolution

Design a control (button toggle) that will trigger an orientation change in the preview. Update the code to swap the width/height dimensions when the toggle is activated. Put in a nice transition animation.

Remaining tasks

  1. Design
  2. Implementation

User interface changes

The current preview UI will be extended with an orientation toggle.

API changes

None

Comments

jessebeach’s picture

We need to also address preview containers that are too high for the current viewport. Either they should not be allowed or the preview window should scroll to accomodate them.

jessebeach’s picture

Status: Active » Closed (fixed)