wordpress-mobile / wordpress-mobile/WordPress-Android
Instagram embed in post isn't centered in Reader
Open
Nobody has claimed this yet.
[Type] Enhancement
Reader
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behavior
The Instagram embed should render in the Reader centered horizontally and/or not cut-off.
Actual behavior
The Instagram embed renders in the Reader slightly right of center and cut off.
Steps to reproduce the behavior
- Create a post using Gutenberg
- Add the Instagram block and link to any post
- Publish the post
- View the post in WPAndroid, in Reader
- Notice that the post is off-center and cut-off
Tested on Samsung S10, Android 10, WPAndroid 14.5.1
Contributor guide
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 issue in WPAndroid Reader using a published Gutenberg post with an Instagram block, following the listed Samsung S10 and Android 10 steps. Compare the embed's horizontal position and clipping with the expected behavior; it is done when the Instagram embed is centered and fully visible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100