WordPress / WordPress/pattern-directory

Block theme: Extra space above and below the pattern preview on mobile

Open
#672 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Component] Theme [Status] Needs Design Feedback
Dominant language
PHP
Stars
134
Forks
46
Avg merge
9h 4m
Merged PRs (30d)
19

Description

This is best visualized in the video below. If possible, the container should "hug" the pattern and not have a fixed height.

https://github.com/WordPress/pattern-directory/assets/4832319/466b9754-425a-4d25-87a6-761e969e6e98

Contributor guide

No contributing guide indexed for this repository

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 mobile pattern preview spacing shown in the linked video and locate the preview container responsible for the fixed vertical space. The work is done when the container hugs the pattern without extra space above or below on mobile.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.