WordPress / WordPress/pattern-directory
Block theme: Extra space above and below the pattern preview on mobile
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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