wordpress-mobile / wordpress-mobile/WordPress-Android

Instagram embed in post isn't centered in Reader

Open
#12,772 1 comment 0 reactions 0 assignees View on GitHub

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.

Screenshot showing Instagram embed cut-off in Reader post
Steps to reproduce the behavior
  1. Create a post using Gutenberg
  2. Add the Instagram block and link to any post
  3. Publish the post
  4. View the post in WPAndroid, in Reader
  5. Notice that the post is off-center and cut-off
Tested on Samsung S10, Android 10, WPAndroid 14.5.1

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.