mdn / mdn/fred

Playground Preview Alignment

Open
#649 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
233
Forks
61
Avg merge
1d 1h
Merged PRs (30d)
82

Description

As of a few days ago, the preview box of the playground has started appearing at the bottom, under all of the code boxes, instead of to the right.

This is in Safari on an iPad 9 running iPadOS 18.6.2. I have no blockers or hidden elements enabled for Mozilla sites.

I use the playground almost entirely in portrait mode, which is where this issue has started happening. It is not present in landscape.

(sorry, could not use issue template from gh app)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the playground preview layout on Safari on an iPad in portrait mode, then compare it with landscape mode. Inspect the playground's preview positioning and identify why it moves below the code boxes. Done means the preview remains to the right in portrait mode without regressing landscape behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.