Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Block: Image size does not change if block is left or right aligned #3753

Open
ktyfuller604 opened this issue Apr 13, 2021 · 2 comments
Labels
Customer Report Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report". [Status] Core fix needed This issues is coming from a bundled theme (Twenty Something)) core and is being addressed in trac. [Theme] Twenty Twenty [Theme] Twenty Twenty-One Triaged [Type] Bug Something isn't working

Comments

@ktyfuller604
Copy link

This issue occurs in the Twenty Twenty and Twenty Twenty-One themes. It does not occur in the Maywood theme.

Steps to reproduce the behavior

  1. Go to the Block Editor
  2. Add an image block and a paragraph block
  3. Left (or Right) align the image block
  4. Resize the image to any size using any resize option; dragging the handles, setting a percentage, setting by pixels or using the drop-down.
  5. Preview (or publish) the page

What I expected to happen

The image size set in the editor would be reflected on the preview or the published page.

What actually happened

The image always displays in thumbnail size.

Context

Browser / OS version

  • Chrome 89.0.4389.114
  • Safari 14.0.3
  • Mac OSX 10

Is this specific to the applied theme? Which one?

  • Twenty Twenty
  • Twenty Twenty-one

Does this happen on simple or atomic sites or both?

Both simple and atomic when testing with the Twenty Twenty theme.

Reproducibility (Consistent, Intermittent) Leave empty for consistent.

Screenshot / Video: If applicable, add screenshots to help explain your problem.

In the editor:
image

On the preview:
image

Initial report: 3901024-zen

@ianstewart ianstewart transferred this issue from Automattic/wp-calypso May 4, 2021
@Robertght
Copy link

Robertght commented Apr 15, 2022

It looks like this is a theme thing on ORG as well so I reported it here: https://core.trac.wordpress.org/ticket/55581#ticket

Workaround:

@media (min-width: 1000px)
.entry-content > .alignleft, .entry-content > p .alignleft, .entry-content > .wp-block-image .alignleft {
    position: absolute;
}

@Robertght Robertght added [Type] Bug Something isn't working [Theme] Twenty Twenty labels Apr 15, 2022
@Robertght Robertght added this to the Bug Herding 2022: Week 15 milestone Apr 15, 2022
@mrfoxtalbot mrfoxtalbot added [Theme] Twenty Twenty-One [Status] Core fix needed This issues is coming from a bundled theme (Twenty Something)) core and is being addressed in trac. labels Jun 22, 2022
@mrfoxtalbot
Copy link

mrfoxtalbot commented Jun 22, 2022

I can confirm this is still reproducible in Twenty Twenty.

Screen.Capture.on.2022-06-22.at.12-52-41.mp4

I have tagged it as [Status] Core fix needed. I have also opened a second Trac issue #56038 to report that the problem is affecting Twenty Twenty-One as well:

Screen.Capture.on.2022-06-22.at.13-08-25.mp4

@jeherve jeherve added Customer Report Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report". and removed User Report labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Customer Report Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report". [Status] Core fix needed This issues is coming from a bundled theme (Twenty Something)) core and is being addressed in trac. [Theme] Twenty Twenty [Theme] Twenty Twenty-One Triaged [Type] Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants